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 is a treemap in java?
Which is bigger float or double?
What are the data types supported by java?
Can we assign null to double in java?
What does index mean in java?
Is arraylist sorted in java?
What is nextline method in java?
What is volatile keyword in java
What is super keyword explain with example?
Does treeset allow null in java?
What is final class?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Difference between notify() method and notifyall() method in java?
When to use runnable interface vs thread class in java?
What is the use of callablestatement?