- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is a Multidimensional array in Java?
In Java, a multi-dimensional array is nothing but an array of arrays.
2D array − A two-dimensional array in Java is represented as an array of one-dimensional arrays of the same type. Mostly, it is used to represent a table of values with rows and columns −
Int[][] myArray = {{10, 20, 30}, {11, 21, 31}, {12, 22, 32} }
In short, a two-dimensional array contains one-dimensional arrays of elements. It is represented by two indices where the first index denotes the position of the array and the second index represents the position of the element within that particular array −
- Related Articles
- Multidimensional array in Java
- What is a multidimensional array in C language?
- What is a multidimensional array? Explain with program
- Get array upperbound in Java Multidimensional Arrays
- PHP Multidimensional Array.
- Initialization of a multidimensional array in C
- How to set multidimensional array into JTable with Java?
- Multidimensional Collections in Java
- MongoDB multidimensional array projection?
- Single dimensional array vs multidimensional array in JavaScript.
- Sort multidimensional array by multiple keys in PHP
- How to convert Multidimensional PHP array to JavaScript array?
- What is an array in Java?
- How to print dimensions of multidimensional array in C++
- Sort php multidimensional array by sub-value in PHP

Advertisements