Which of the following create an empty two dimensional array with dimensions 2x2?
Choose the correct option from below list
(1)int[][] test = new int[2, 2];
(2)int[][] test = new int[2], [2];
(3)int[][] test = new int[2][2];
(4)int[][] test = new int[2 x 2];
Answer:-(3)int[][] test = new int[2][2]; | |