What is array ? | SoloLearn: Learn to code for FREE!


What is array ?

I am not getting it, please anyone explain it

11/24/2016 4:36:35 PM

Jameel Ahmad

2 Answers

New Answer


An array is a type of object. This object can store a concrete number of objects or primitive data types. It's like a labeled box, you can put in there all the things that match the label. With an array you can compare with ease all of the objects in it, acces wich one you want and iterate through them. Edit: I must add you normally will use them for related objects, not to store there all of your program variables


(potentially bad explaination) arrays are something like dividing a variable into many variables related to(and also same type of) the array variable defined. For its actual use, I'm not sure about that, but I personally use alot of them just because they make the code cleaner