English

Double Dimensional Array

Advertisements

Topics

Double Dimensional Array (DDA):

A double-dimensional array is a structure represented along the X-axis and Y-axis, where the X-axis represents the number of rows and the Y-axis represents the number of columns, respectively. Now, each cell of a double-dimensional array can be addressed by using row and column numbers in two separate square brackets along with the array variable.  

Creating a Double Dimensional Array 

Note: A double-dimensional array is used to handle tabular data (i.e., values). Syntax: <DataType><Variable>[] []=new <Data Type> [Number of rows][Number of columns] ; 

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×