Question: Which of the following is correct Java code? int[10] list; int list[10]; int list = new int[10]; int[] list = new int[10];
Which of the following is correct Java code?
| int[10] list; | ||
| int list[10]; | ||
| int list = new int[10]; | ||
| int[] list = new int[10]; |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
