Which of the following is the correct declaration statement in the java program?
A. int num=new int[5].
B. int num=new num[5].
C. int[] num=new int[5].
D. None.
Answer:C
Which of the following is the correct declaration statement in the java program?
A. int num=new int[5]. B. int num=new num[5]. C. int[] num=new int[5]. D. None.