Which of the following is a best way of declaring x as a two-dimension array in java

Which of the following is a best way of declaring x as a two-dimension array in java

*int[][] x = new int[10][20]*

int[10][20] x = new int[20][10];

int[2] x = new int[];

int[]x = new int[2];

Leave a Reply

MEET OVER 2000 NOUN STUDENTS HERE. 

Join us for latest NOUN UPDATES and Free TMA answers posted by students on our Telegram. 

OUR ONLINE TUTORIAL CLASS IS NOW ON!!! JOIN US NOW. 
JOIN NOW!
close-link
%d bloggers like this: