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
What's the base class in java from which all classes are derived?
Why declare Main() inside the class in java ?
Can we extend private class in java?
What is an empty list in java?
What is regex in java?
What is hasnext in java?
What is substring 1 in java?
What is a buffer in java?
What is static synchronization?
how to write a program for sending mails between client and server
What is int short for?
What are the advantages of defining packages in java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is polymorphism and what are the types of it?
What is difference between ++ I and I ++ in java?