Which is not a true statement about an array?
A. An array expands automatically when it is full.
B. An array is allowed to contain duplicate values.
C. An array understands the concept of ordered elements.
D. An array uses a zero index to reference the first element.
Answer:A
Which is not a true statement about an array?
A. An array expands automatically when it is full. B. An array is allowed to contain duplicate values. C. An array understands the concept of ordered elements. D. An array uses a zero index to reference the first element.
Explanation: An ArrayList expands automatically when it is full. An array does not, making Option A the answer. The other three statements are true of both an array and an ArrayList.