Question OOP-CLS-0068
HardWhat is the difference between a shallow and a deep copy of an object that holds a list?
- A.
A shallow copy shares the list with the original; a deep copy gets its own copy of the list
- B.
They are the same
- C.
A shallow copy copies nothing
- D.
A deep copy shares the list
Sign up free to see the answer and a step-by-step explanation.