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 3. Object-oriented design principles

Exam objectives covered in this chapter

What you need to know

[3.1] Write code that declares, implements, and/or extends interfaces The need for interfaces. How to declare, implement, and extend interfaces. Implications of implicit modifiers that are added to an interface and its members.
[3.2] Choose between interface inheritance and class inheritance The differences and similarities between implementing inheritance by using interfaces and by using abstract or concrete classes. Factors that favor using interface inheritance over class inheritance, and vice versa.
[3.3] Apply cohesion, low-coupling, IS-A, and HAS-A principles Given a set of IS-A and HAS-A relationships, how to ...

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