O'Reilly logo

Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) by Marcus Green, Bill Brogden

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

Object-Oriented Design

We are certainly not going to be able to cover all of object-oriented design in a single chapter. It's not a subject you can master overnight. In addition to reading this book, we recommend that you study good object-oriented code—such as the Java standard library classes—and books—such as Design Patterns—cited at the end of the chapter.

To gain a complete understanding of object-oriented design, you need to be comfortable with some of the basics, such as the object relationships expressed as the phrases “is a” and “has a”. You will also need to be comfortable with the implications of class hierarchies, overloading, and overriding.

A Class Hierarchy

To facilitate this discussion, we outline the class hierarchy that you ...

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