Chapter 6. Working with inheritance

Exam objectives covered in this chapter

What you need to know

[7.1] Implement inheritance. The need for inheriting classes. How to implement inheritance using classes.
[7.2] Develop code that demonstrates the use of polymorphism. How to implement polymorphism with classes and interfaces. How to define polymorphic or overridden methods.
[7.3] Differentiate between the type of a reference and the type of an object. How to determine the valid types of the variables that can be used to refer to an object. How to determine the differences in the members of an object, which ones are accessible, and when an object is referred to using a variable of an inherited base class or an implemented interface. ...

Get OCA Java SE 7 Programmer I Certification Guide now with O’Reilly online learning.

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