To declare an integer array, the correct way is: int[] name = new int[] {1, 2, 3}; and not int[] name = new name[] {1, 2, 3};
To declare an integer array, the correct way is: int[] name = new int[] {1, 2, 3}; and not int[] name = new name[] {1, 2, 3};