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 the super void?
What is singleton class and how can we make a class singleton?
What is class and its types?
What is a type parameter in java?
What is meant by distributed application? Why are we using that in our application?
What is a priority queue java?
Does .length start 0 java?
What are the advantages of packages in java?
Which collection does not allow duplicates in java?
Why generics are used in java?
What is difference between jdk,jre and jvm?
State the merge-sort principle and its time complexity.
What is oop in java?
What is struts in java?
Why hashcode is used in java?