go to previous page   go to home page  

Answer:

Just one object. All four reference variables point to the same object.

(In a sensible program, those four declarations might have been spread out over many lines.)

(The next chapter discusses this further, in case you are a little unhappy about this answer.)


End of the Chapter

You may wish to review the following. Click on a subject that interests you to go to where it was discussed.

The next chapter discusses object references.


You have reached the end of the chapter.

go to previous page   go to home page