Which of the following Java statements declare and allocate a 2-dimensional array of integers with 7 columns and 4 rows? 

1
int A [7][4];  
2
int A [ ][ ] = new int [7][4];
3
int A [4][7]; 
4
int [ ][ ] A = new int [4][7];

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation