Computer Science, asked by khatwanilavanya110, 16 days ago

write a java program for insert the random values in 3X3 two dimensional arrays​

Answers

Answered by anuragarya5136
0

Answer:

Multidimensional Arrays in Java

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.

Similar questions