ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is the main difference between shallow cloning and deep cloning of objects?

Java supports shallow cloning of objects by default when a class implements the java.lang.Cloneable interface.

Deep cloning through serialization is faster to develop and easier to maintain but carries a performance overhead.

Related Posts Plugin for WordPress, Blogger...
Flag Counter