Which method is used to tweak an object’s cloning behavior?
Which method is used to tweak an object’s cloning behavior? Correct Answer __clone()
A copy of an object is created by using the clone keyword, which calls the object’s __clone() method.Which method is used to tweak an object’s cloning behavior? Correct Answer __clone()
A copy of an object is created by using the clone keyword, which calls the object’s __clone() method.