Arrays:
1)It is to store the multiple values in a single variable
Ex: int a[]={45,64,89};
2)Internally,it will create an object like,
int [] variable name=new int[size of the index];
int[]-array int
3)It can create an array object for primitives and non-primitives datatypes
4)In a variable,it allows to store only similar datatypes
5)For a variable,can't assign an values more then the size of the index
index-the index value starts form zero
Ex: int[] roll=new int[3];
roll[0]=10;
roll[1]=20;
roll[2]=30;
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)