I've this assignment due before 7 am. Please help, me.
The language is Java. Write a program, TwoDimentionalGrid. Ask the user to enter the size of the 2 dimensional array. Create a 2D array with the same row and column number. Now print the array. Example: Please enter the size of the array: 5 Here is the output: 1 2 3 4 5

Respuesta :

Answer:

An observation: Java does not support true multi-dimensional arrays; rather, it supports 1-dimensional arrays, where each element can itself be another 1-dimensional array. The difference is the way memory is allocated, where a[i][j] differs from a[i,j].

Explanation: