revised: 10/09/98, 09/01/99, 01/20/00, 07/14/02, 03/01/04, 01/17/06

CHAPTER 26 — Object References

This chapter discusses two things: object reference variables and the objects they refer to. These are crucial concepts in programming, and can be confusing. It demands careful study. This chapter was written as my best effort to answer the questions of confused students.

Chapter Topics:

You might wish to study hard now, as a pre-emptive strike against confusion.

QUESTION 1:

(Review:) In Java, a piece of data either is of a _________________ data type or is an ________________ data type.