

McqMate
Q. |
Which of these is an incorrect array declaration? |
A. | int arr[] = new int[5]; |
B. | int [] arr = new int[5]; |
C. | int arr[]; arr = new int[5]; |
D. | int arr[] = int [5] new |
Answer» D. int arr[] = int [5] new |
View all MCQs in
Java ProgrammingNo comments yet