Two objects, objectA and objectB, are objects in the class Listing. The object objectA is copied to
Fantastic news! We've Found the answer you've been seeking!
Question:
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
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date: