Question: Which of the following creates an empty two-dimensional array with dimensions 22? A. int[][] blue = new int [2, 2]; B. int[][] blue = new
Which of the following creates an empty two-dimensional array with dimensions 2×2?
![A. int[][] blue = new int [2, 2]; B. int[][] blue =](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1707/2/9/0/99665c3317446bdc1707290996388.jpg)
A. int[][] blue = new int [2, 2]; B. int[][] blue = new int[2], [2]; C. int[][] blue = new int [2] [2]; D. int[] [] blue = new int [2 x 2]; E. None of the above
Step by Step Solution
3.36 Rating (143 Votes )
There are 3 Steps involved in it
The syntax for declaring a twodimensional array in Java involves specifying the size of each dimensi... View full answer
Get step-by-step solutions from verified subject matter experts
