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 java project architecture?
What are advantages and disadvantages of OOPs?
What is number data type?
What is the biggest integer?
What is the method in java?
What is outofmemoryerror in java?
Where are register variables stored?
Explain the concept of proper inheritance?
Why a dead thread occurs?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is struts in java?
If you are given the name of the function at run time how will you invoke the function?
Explain the difference between the public, private, final, protected, and default modifiers?
How are java objects passed to a method and what are native methods?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?