Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core Java - Interview Questions and Answers for 'Shallow copy' - 1 question(s) found - Order By Rating|
|Ans. Shallow copy is one of the way for object cloning, other being deep copy.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  cloning  shallow copy  object cloning basic|
|What are different ways of object creation in Java ?|
|What are Marker Interfaces ? Name few Java marker interfaces ?|
|How to avoid cloning, serialization in the singleton class ?|
|Whats the purpose of marker interfaces ?|
|What is a cloneable interface and what all methods does it contain?|
|Name few classes that implement Cloneable interface ?|
|Why do we use a copy constructor ?|
|Does it make sense to clone an object which is supposed to be immutable ?|
|Why Collection interface does not extend Cloneable interface ?|
|What is a prototype design pattern ?|