0
What is Array?
What is Array?
2 Antworten
+ 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};
+ 1
Array is an object the contains elements of Homogeneous data type.