what is d difference between deep cloning and shallow
cloning in core java?
Answer Posted / nishant
Deep cloning - You clone the object and their constituent
parts.
Shallow cloning - You clone only the object, not their
parts. You add references to their parts
| Is This Answer Correct ? | 10 Yes | 9 No |
Post New Answer View All Answers
What is parse method?
What is the difference between hashmap and hashtable? What is an interface?
What is the default size of set in java?
How do you remove spaces in java?
What is final access modifier in java?
What are the main uses of the super keyword?
What is listnode in java?
What is numeric data type?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What are the four pillars of java?
How do you calculate square roots?
What is a programming object?
Can we have more than one package statement in the source file?
What is int short for?
What are the advantages of encapsulation in java?