Answer Posted / chandrarekha
Yes java supports multi dimensional arrays..care should be
taken while creating an array, as the array elements are
considered to be objects...we use new operator
int arr[][]=new int[3][]
arr[0]=new int[2];
arr[1]=new int[3];
arr[2]=new int[4];
the second dimension need not always have the same number
of elements.
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are the advantages of user defined functions?
Which programming language is most secure?
does java support pointers?
What are different types of expressions?
How many static init can you have?
What does a za z0 9 mean?
Why is java so popular?
What is lossy conversion in java?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
How to sort an array in java without using sort method?
What are the advantages of java over cpp?
What is the byte range?
What is a dynamic array in java?
How do you create a reference in java?
What are the problems faced by java programmers who don't use layout managers?