Java / Object, Class and Package
Explain Shallow copy in Java.
Shallow clone is a copying the reference pointer to the object, which mean the new object is pointing to the same memory reference of the old object. The memory usage is less in case of shallow copy.
More Related questions...