+ 1
What is array explain in brief
5 Antworten
+ 4
My bad. I did not mean a List object. I was putting it in brief terms requested by poster. Great clarification though as that could be confusing.
+ 3
It is a simply a LIST. You access each "item" the list by its index (ie, its order in the list, starting at 0 instead of 1)
+ 3
A List is actually different from an array. Arrays are not as flexible as Arrays. You can just remove an element easily like in Lists. Arrays require a size. Lists do not require a size. ArrayLists in Java and Arrays are two different topics.
+ 2
A dynamic and simple data structure that stores data of the same type in a sequential order.
+ 2
so if we talk about an array than it is a. set or the collection of homogeneous data ( same data type ) and. for example if we store the marks of 20-30 student then we use the array instead of storing the value of students individually