I need to copy a multi-dimensional array and put the copies in new objects. The original array will still be in use.
{...
thisConstructor (myValuableArray) ....} // calling constructor
public thisConstructor (int[][] argArray) {
int[][] hopefullyCopy = argArray;
}
is myValuableArray
safe?
I understand Java passes parameters by value but I am not clear on the meaning.