A good answer might be:
0: Amy 1: Bob 2: Deb | |
Inserting Elements
Sometimes you wish to insert an element into a
Inserting is different from setting an element. When setElementAt(objectReference, index ) is used, the object reference previously at index is replaced by the new objectReference. No other elements are effected, and the size does not change. | |
QUESTION 12:Examine the following program. What will it print?
|