0
How can i make a 3x3 or 4x4 matrix with array
array
2 Respostas
+ 2
You dont need 3 or 4 multi-dimensional array to make any sized matrix. A two dimensional array is all thats needed.
- 3
Well, in Java you can do this to create a 3x3 array:
int[][][] arr=new arr[5][5][5];
//Just remember the "5" are the extension of the array's dimension.
I've never seen a 4x4 array. I'm still a beginner so I can't imagine such a thing.
Hope you can get a better answer. Cheers!