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 O’Reilly online learning.

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