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
How does a for loop work java?
Is a string literal?
Explain about automatic type conversion in java?
How do you delete a list in java?
Is java a super set of javascript?
Can we override the private methods?
What are the two ways to create a thread?
What are the uses of java?
How do you find the absolute value?
What is oop in java?
How a variable is stored in memory?
Why does it take so much time to access an applet having swing components the first time?
What are the differences between string and stringbuffer?
How are the elements of a gridbaglayout organized?
What is a local class in java?