OOP & Design Patterns - Prototype Pattern - Deep Copy vs Shallow Copy
Consider the following code snippet using deep copy on an object with an empty scores list. What will be the output after appending 5 to the copy's scores?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions