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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.