engineering recuitment RPSC Programmer Mock Test 2024 Programming and Data Structure Programming in C Array
Which of the following Java statements declare and allocate a 2-dimensional array of integers with four rows and five columns?
1
int array [4][5];
2
int array [][] = new int [4][5];
3
int array [5][4];
4
int array [][]= new int [5][4]