InterviewSolution
Saved Bookmarks
| 1. |
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» Right option is (c) Each class has an associated Array class The best I can explain: 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. |
|