0

For what is array use?

20th Dec 2016, 5:12 PM
Mars
Mars - avatar
3 Answers
+ 2
Standard arrays (not List type objects) are used when you have some fixed or expected number of related objects in a collection. For example you could use an array to represent a chess board since the board is of fixed size and each index in the array could represent a piece or location on the board
20th Dec 2016, 5:16 PM
James Durand
James Durand - avatar
+ 1
storing many similar type of data under a single variable and also can access by using the single name
6th Jan 2017, 4:55 PM
abhishek maurya
abhishek maurya - avatar
0
thanks!!
20th Dec 2016, 5:18 PM
Mars
Mars - avatar