Of the two types of copies discussed in the previous exercise, which one produces a clone (an
Fantastic news! We've Found the answer you've been seeking!
Question:
Of the two types of copies discussed in the previous exercise, which one produces a clone (an exact duplicate of an existing object)?
Previous Exercises
Two objects, objectA and objectB, are objects in the class Listing. The object objectA is copied to objectB. How many objects exist after the copy, if the copy is performed as:
(a) a deep copy?
(b) a shallow copy?
Related Book For
Posted Date: