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
How to sort an unsorted array in java?
why an outer class cannot be declared as private?
What are the differences between graph and tree?
What are the advantages and disadvantages of reference counting in garbage collection?
Can a static method be final?
What is the difference between assignment and initialization?
Which graphs are functions?
Explain about transient variables in java?
What do you mean by mnemonics?
Why java is said to be pass-by-value ?
How do you do absolute value in java?
Explain the different forms of polymorphism?
Which collection is best for sorting in java?
How do you sort a set in java?
What are the data types supported by java?