J
Jazz
Hello All,
I was wondering, How do u return an exact copy of an object (Plate)
which it is called upon.
IE.
In the Main:
Plate p = new Plate();
Plate p2 = p.getCopy();
In the Class:
public Plate getCopy() {
???
}
What do i do for..???
i know ur prolly saying u can just go Plate p2 = p1, but I have my
reasons
Thanks
Jazz
I was wondering, How do u return an exact copy of an object (Plate)
which it is called upon.
IE.
In the Main:
Plate p = new Plate();
Plate p2 = p.getCopy();
In the Class:
public Plate getCopy() {
???
}
What do i do for..???
i know ur prolly saying u can just go Plate p2 = p1, but I have my
reasons
Thanks
Jazz