InterviewSolution
Saved Bookmarks
| 1. |
What Is The Difference Between Copying An Object Through Assignment And Clone-function? |
|
Answer» The MAIN DIFFERENCE between COPYING an object through assignment and clone-function is that how they HANDLE references. The assignment only copies the reference of the object while clone-function creates a COMPLETE new object. The main difference between copying an object through assignment and clone-function is that how they handle references. The assignment only copies the reference of the object while clone-function creates a complete new object. |
|