Difference between shallow copy and object cloning ?
Javasearch.buggybread.com

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.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. Difference between shallow copy and object cloning ?Core Java
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


Related Questions

  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 ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: