हिंदी

Double Dimensional Array

Advertisements

Topics

CISCE: Class 10

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] ; 

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×