Does java support multi dimensional arrays ?

Answer Posted / santosh anand

The Java programming language does not really support multi-dimensional arrays. It does, however, support arrays of arrays. In Java, a two-dimensional array x is really an array of one-dimensional arrays:

int[][] x = new int[3][5];
The expression x[i] selects the one-dimensional array;
the expression x[i][j] selects the element from that array.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between processes and threads?

508


List primitive java types?

588


Which java collection does not allow null?

711


What do you mean by constant time complexity?

594


How many bytes is 255 characters?

544






Explain naming conventions for packages?

571


How do you implement singleton class?

510


What is fundamental datatype?

522


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1591


Describe what happens when an object is created in java ?

543


What's the default access specifier for variables and methods of a class?

505


List some important characteristics on jre

582


What is parsing and its types?

578


Difference between method overloading and overriding.

575


Can keyword be used as identifier?

542