NOTE: Using psuedo-code, not actual java or php for example.
I know its possible in php to take an array like
and place it within another array into an, example a 5x5 multidimensional, array like so
Is it possible in java and more specifically Greenfoot?
1 | array1 = {{ 1 , 2 , 3 },{ 1 , 2 , 3 },{ 1 , 2 , 3 }} |
1 | array2[ 0 ][ 0 ] = array1 |