Search Interview Questions
| 3361 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.
|Java - Interview Questions and Answers|
|Ans. Cloneable is a declaration that the class implementing it allows cloning or bitwise copy of it's object state. It is not having any method because it is a MARKER interface.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   oops   cloneable   marker interface  cloning Asked in 1 Companies|
|Name few classes that implement Cloneable interface ?|
|Why Collection interface does not extend Cloneable interface ?|
|What is the default data type of state variables in Clonable interface and Serializable interface ?|
|Why the singleton class should never implement Cloneable interface ?|
|How to avoid cloning, serialization in the singleton class ?|