Computer Science, asked by toppoking1234, 7 months ago

Write a java program to create and fill Multidimensional

Arrays.

Answers

Answered by riyashukla30
2

Explanation:

Multidimensional Arrays in Java

Last Updated: 06-05-2020

Array-Basics in Java

Multidimensional Arrays can be defined in simple words as array of arrays. Data in multidimensional arrays are stored in tabular form (in row major order).

Syntax:

data_type[1st dimension][2nd dimension][]..[Nth dimension] array_name = new data_type[size1][size2]….[sizeN];

where:

data_type: Type of data to be stored in the array. For example: int, char, etc.

dimension: The dimension of the array created.

For example: 1D, 2D, etc.

array_name: Name of the array

size1, size2, …, sizeN: Sizes of the dimensions respectively.

plzz mark me as a brainlist

Similar questions