7Understanding Class Inheritance

CERTIFICATION OBJECTIVES

Inheritance and Class Type

Encapsulation

Advanced Examples of Classes with Inheritance and Encapsulation

Image Two-Minute Drill

Q&A Self Test

CERTIFICATION OBJECTIVE

Inheritance and Class Type

Exam Objective 1.2 Describe, compare, and contrast concrete classes, abstract classes, and interfaces, and how inheritance applies to them.

Inheritance is a fundamental concept of the Java language. It allows specific classes to inherit the methods and instance variables of more general classes. This creates code that is maintainable and emphasizes code reuse. The SCJA exam will require a thorough ...

Get SCJA Sun Certified Java Associate Study Guide (Exam CX-310-019) 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.