Q1. Which of these statements are legal. Select the three correct answers.
A. int arr[][] = new int[5][5];
B. int[]arr[] = new int[5][5];
C. int[] arr = new int[5][];
D. int[] arr = new int[][5];
Correct Answer: A,B,C
Explanation:
NA
Disclaimer: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.SCJP® is a trademark of Oracle™.