Which statement correctly declares an integer array named 'nums' in Java?
int[] nums = new int[5];
int[5] nums;
num int[] = [0, 1, 2, 3, 4];
int[];

Computer Science and Technology Exercises are loading ...