image
8
Understanding Polymorphism and Casts
CERTIFICATION OBJECTIVES
•    Understand Polymorphism
•    Understand Casting
image   Two-Minute Drill
Q&A Self Test
The OCA exam will expect you to have a firm understanding of what polymorphism is and when it should be used. The exam will present scenarios using polymorphism in correct and incorrect ways.
Casting will also be covered on the OCA exam. On the surface, casting looks similar to polymorphism; however, it is very different. The OCA exam is likely to ask questions that require that you have a solid ...

Get OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803), 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.