Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Does java support multi dimensional arrays ?

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


Please Help Members By Posting Answers For Below Questions

What are the advantages of user defined functions?

984


Which programming language is most secure?

981


does java support pointers?

978


What are different types of expressions?

1107


How many static init can you have?

1202


What does a za z0 9 mean?

1091


Why is java so popular?

1099


What is lossy conversion in java?

1187


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1007


How to sort an array in java without using sort method?

871


What are the advantages of java over cpp?

1060


What is the byte range?

1022


What is a dynamic array in java?

1164


How do you create a reference in java?

965


What are the problems faced by java programmers who don't use layout managers?

958