Array Revision - DMU

d) assign value "cake" into the last element of the array Example 2. Array of user defined Objects (e.g. BankAccount objects) The components of an array may be primitive types or object references. But only the type of values in the array declaration may be stored in the array. The following declarations are for an array of four . BankAccount ................
................