Top Categories

11.3 Object Cloning in Java part 2
  • Category:
  • Sub Category:
  • clone
  • deep
  • object
  • Shallow
  • Clonable
  • live
  • Cloning (Literature Subject)
  • Java
No Views

Shallow Copy:-Shallow copy means to make a copy of the reference to obj into obj1. It is simply say that call bye value. Deep Copy:-It makes a copy of all the members of obj, allocates memory in a different location for obj1 and then assigns the copied members to obj1 to achieve deep copy.Deep Co

Comments

You Might Be Interested In