Array Java int
int[] theNumbers = new int[5];
arr[0] = 4;
arr[1] = 8;
arr[2] = 15;
arr[3] = 16;
arr[4] = 23;
arr[5] = 42;
Abbot Of Boolean Zen
int[] theNumbers = new int[5];
arr[0] = 4;
arr[1] = 8;
arr[2] = 15;
arr[3] = 16;
arr[4] = 23;
arr[5] = 42;
int [] array={1,2,3};
String[] array = new String[] { "String1", "String2", "String3" }; // Create array
String string3 = array[2]; // Get array
int[] arr = new int[<size of the array>];