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
Can we extend a class with private constructor?
Difference between vector and arraylist.
Justify your answer that you can't define a method inside another method in java, if you can then how?
How do you clear a method in java?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What are checked exceptions?
How do you avoid global variables?
Can we sort set in java?
Why doesn't the java library use a randomized version of quicksort?
What is stack example?
What are the concepts of 'OOPS'?
What are the java ide’s?
What is array list in java?
What is difference between core java and java ee?
Is int primitive data type?