10

Advanced OO and Design Patterns

CERTIFICATION OBJECTIVES

    •    Write Code that Declares, Implements, and/or Extends Interfaces

    •    Choose Between Interface Inheritance and Class Inheritance

    •    Apply Cohesion, Low-Coupling, IS-A, and HAS-A Principles

    •    Apply Object Composition Principles (Including HAS-A Relationships)

    •    Design a Class Using the Singleton Design Pattern

    •    Write Code to Implement the DAO Pattern

    •    Design and Create Objects Using a Factory and Use Factories from the API

     image    Two-Minute Drill

Q&A Self Test

You were introduced to object-oriented (OO) principles in Chapter 2. We ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.