Question d’entretien chez NEC Corporation

Write a program for Deep copy and Shallow Copy.eep copy and Shallow Copy?

Réponse à la question d'entretien

Utilisateur anonyme

10 oct. 2023

In a Shallow copy, a copy of the original object is stored and only the reference address is finally copied. In Deep copy, the copy of the original object and the repetitive copies both are stored.