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
Explain different types of wrapper classes in java?
How do you use wildcards?
What is jit compiler in java?
How to do a true java ping from windows?
Which is the best approach for creating thread ?
Is ++ operator thread-safe in java?
What is style and indentation?
Can we have two methods in a class with the same name?
How do you declare a destructor in java?
How do you sort in ascending order in java?
What is a blocking method in Java?
When arithmeticexception is thrown?
Can you sort a list in java?
What is function and method in java?
What is return used for in java?