I'm having issues being able to create a copy constructor for a 2 dimensional array of mine.
private int[][] matrix; // I define the array instance variable here.
Now I manage to define my 2D array but I don't understand how my copy constructor should work if say for instance I had an integer parameter called "sillyparameter1". How would I go on about to creating such a constructor?
Aucun commentaire:
Enregistrer un commentaire