
For now, we’ll postpone discussion of the last two methods in the class API,
toString and equals, except to say that their functions, respectively, are to
convert the object data to a printable format and to compare the object
data to another object’s data. All classes provide these methods.
3.4 Using Object References 105
3.19.1 Multiple Choice Exercises
Questions 2,3,4,5,9,10
3.19.8 Technical Writing
Questions 69,70
Skill Practice
with these end-of-chapter questions
3.4 Using Object References
As we have mentioned, an object reference points to the data of an object.
The object reference and the object data are distinct entities. Any object can
have more ...