Which statement is true for the Array class?

Nguyễn Tân

New member
Which statement is true for the Array class?
A. Arrays can have variable length
B. The length array can be changed
C. Each class has an associated Array class
D. Arrays can contain different type of values
 
Answer: c
Explanation: The Array class is associated with all the other classes. This gives us the flexibility to declare an array of any type. The index goes from 0 to n, where n is some fixed size for array.
 

Tìm kiếm

Back
Top