Which of the following is a proper way to declare and initialize a variable in Java?
a. int[] array = new int[]{1, 2, 3, 4};

b. int[] array = {1, 2, 3, 4};

c. int array[] = new int[]{1, 2, 3, 4};

d. int array[] = {1, 2, 3, 4};