Question:How can you modify the copy of an object during a clone operation? 

A Put the logic in the object's constructor to alter the values 

B Implment your own function to do object copying 

C Implement the object's __clone() method 

D Implement __get() and __set() methods with the correct logic 

E Implement the __copy() method with the correct logic 

+ Answer
+ Report
Total Preview: 953

Copyright © 2024. Powered by Intellect Software Ltd