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] 

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation