O'Reilly logo

OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam by Mala Gupta

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

Chapter 1. Java class design

Exam objectives covered in this chapter

What you need to know

[1.1] Use access modifiers: private, protected, and public How to use appropriate access modifiers to design classes How to limit accessibility of classes, interfaces, enums, methods, and variables by using the appropriate access modifiers The correct combination of access modifiers and the entities (classes, interfaces, enums, methods, and variables) to which they can be applied The implications of modifying the access modifier of a Java entity
[1.2] Override methods The conditions and requirements that make a subclass override a base class method How to differentiate among overloaded, overridden, and hidden methods
[1.3] Overload ...

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