Designing Better Objects

In this chapter, we study more advanced object-oriented concepts in order to design better objects.

Source Code

The following .zip download contains the full source code for each programming example provided in this chapter.

Download the Source Code (Chapter 3)


1. Constructors: Demonstrates the use of constructors.

2. First Graphics: A simple introduction to Java Graphics using inheritance and polymorphism.

Importing Instructions:

Click Here to see how to import the above projects into your workspace.

Additional Information

1. For a list of all known in-text errors, please see the Errata.

This section will be updated as needed. Please post on our forums if you need assistance or explanation on topics covered in this chapter.