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
When will we prefer to use set and list in java and why?
What is the scope or life time of instance variables?
what is encapsulation in java? Explain
Which oo concept is achieved by using overloading and overriding?
How can we achieve thread safety in java?
What about static nested classes in java?
What is a parameter used for?
What is considered an anti pattern?
What is e java?
What is the difference between math floor and math round?
how to handle exceptions in ejb?
What are benefits of java?
Is final static java?
why Interface used?
What do you mean by aggregation?