created: 11/28/99; revised: 01/24/00, 07/20/02, 05/30/03, 02/03/06, 06/02/06, 08/16/14, 09/13/17

go to home page   go to next page

CHAPTER 65 — Arrays of Objects

Chapter Topics:

All the elements of an array must be of the same type. So far in these notes, the elements have been primitive types. However, an array can be made with elements of any data type, including object references. This chapter discusses arrays of object references.


QUESTION 1:

What does this statement do?

String str;


go to home page   go to next page