O'Reilly logo

SCJA Sun® Certified Java™ Associate Study Guide by Edward Finegan, Robert Liguori

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8Understanding Polymorphism

CERTIFICATION OBJECTIVES

Polymorphism

Practical Examples of Polymorphism

Image Two-Minute Drill

Q&A Self Test

CERTIFICATION OBJECTIVE

Polymorphism

Exam Objective 1.5 Describe polymorphism as it applies to classes and interfaces, and describe and apply the “program to an interface” principle.

Polymorphism is a fundamental aspect of object-oriented programming languages. Java is no exception to this. Polymorphism allows the developer to write code that is more generic. The generic code is more flexible and allows for easier code reuse, another fundamental object-oriented principle. The concept of programming to an interface ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required