Image

8Understanding 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 you to ...

Get OCA Java SE 8 Programmer I Study Guide (Exam 1Z0-808), 3rd 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.