QuestionQ62

VerifiedCoding Conventions, Best Practices, and Standardization

Which statement is false?

Explanation

A deep copy duplicates an object and its nested mutable contents recursively, whereas a shallow copy duplicates only the outer container and retains references to nested objects. The recursive work makes a deep copy take more time than a shallow copy in general.

Community Discussion

No comments yet. Be the first to start the discussion!