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 / santosh anand

The Java programming language does not really support multi-dimensional arrays. It does, however, support arrays of arrays. In Java, a two-dimensional array x is really an array of one-dimensional arrays:

int[][] x = new int[3][5];
The expression x[i] selects the one-dimensional array;
the expression x[i][j] selects the element from that array.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to sort an unsorted array in java?

1072


why an outer class cannot be declared as private?

4221


What are the differences between graph and tree?

1059


What are the advantages and disadvantages of reference counting in garbage collection?

966


Can a static method be final?

1004


What is the difference between assignment and initialization?

993


Which graphs are functions?

898


Explain about transient variables in java?

1034


What do you mean by mnemonics?

999


Why java is said to be pass-by-value ?

980


How do you do absolute value in java?

922


Explain the different forms of polymorphism?

952


Which collection is best for sorting in java?

1065


How do you sort a set in java?

853


What are the data types supported by java?

967