Arrays in JAVA JAVA by Ravinder Nath Rajotiya - April 17, 20210 arrays IN java An array is a container object that holds fixed number of values of single type. An array is used to store collection of data of same type. A link to an array is established after an array is created after creation the link is fixed. Syntax: int X []; or int []X; both mean the same int []numbers =new int[10]; // declare numbers as an array that can store 10 elements, and then assign values of same types at index values 0,1,2,3.... as: int number[0]=5; int number[1]= 10; int number[2]=15;...and so on position or index for array are from 0,1,2... up till 9, making size of array as 10. So we cannot write the value at index 10 because that