setGear(4) , then copy 's gear will change as well. To get a deep copy, change to… … public Car(Car other) { this.make = other.make ...
確定! 回上一頁