MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following Java statements declare and allocate a 2-dimensional array of integers with four rows and five columns? |
| A. | int array [4][5]; |
| B. | int array [][] = new int [4][5] |
| C. | int array [5][4]; |
| D. | int array [][]= new int [5][4] |
| Answer» C. int array [5][4]; | |