What is Array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is Array?

What is Array?

30th Jan 2017, 5:58 AM
Drexone
2 Answers
+ 2
an array is like an "collection" of values of the same type. instead of: int a = 1; int b = 2; int c = 3; you can: int[] arr = {1, 2, 3};
30th Jan 2017, 8:09 AM
R4xx4r
R4xx4r - avatar
+ 1
Array is an object the contains elements of Homogeneous data type.
30th Jan 2017, 7:01 AM
SHASHI
SHASHI - avatar