Skip to content

Arrays

Definition of Array of n size

int[] myArray = new int[n];

Definition of Array with elements

int[] myArray = new int[] {1,2,3};