+ 1

What is array explain in brief

7th Apr 2018, 2:43 PM
Hari om meena
Hari om meena - avatar
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.
7th Apr 2018, 3:22 PM
ServantCoder
ServantCoder - avatar
+ 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)
7th Apr 2018, 3:10 PM
ServantCoder
ServantCoder - avatar
+ 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.
7th Apr 2018, 3:19 PM
Aaron Stone
Aaron Stone - avatar
+ 2
A dynamic and simple data structure that stores data of the same type in a sequential order.
7th Apr 2018, 3:07 PM
Aaron Stone
Aaron Stone - avatar
+ 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
7th Apr 2018, 3:19 PM
Kapil Mewada
Kapil Mewada - avatar