One Dimensional Array
Syntax for default values:
int[] num = new int[5];
int num[] = new int[5];
Syntax with values given (variable/field initialization):
int[] num = {1,2,3,4,5};
int num[] = {1, 2, 3, 4, 5};
Multidimensional array
Declaration
int[][] num = new int[5][2];
int num[][] = new int[5][2];