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
Why is java not 100% pure oops?
How to instantiate member inner class?
Can we override the static methods?
What is a return in java?
What are recursive functions? Give some examples?
What is the difference between serializable and externalizable interfaces?
Difference difference paint() and paintcomponent()?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is use of valueof () in java?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
Variable of the boolean type is automatically initialized as?
Does hashset allow duplicates in java?
How to split a string in java?
How we can generate random numbers in java?
What is difference between pointer and reference?