This chapter covers some topics related to programming with Java objects. We examine some basic aspects of designing classes to fit various programming problems. We also review Java's built-in mechanisms for freeing and reusing memory and other system resources used by objects after they are no longer needed.

Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) now with O’Reilly online learning.

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