Answer Posted / prashant singh
cloneable interface is a marker interface,found in java.lang package.if we want to clone the object then we have to implement this interface.
if we do not implement it and try to make clone of object then CloneNotSupportedException is thrown.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is procedure overloading?
How do you input a string in java?
Can a class be protected in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Difference between collection, collection and collections in java?
State one difference between a template class and class template.
Why java is said to be pass-by-value ?
What are thread groups?
Is java owned by oracle?
Is integer a class?
When throw keyword is used?
Name few "optional" classes introduced with java 8 ?
How many types of threads are there in java?
What is outofmemoryerror in java?
Why we use multi threading instead of multiprocessing?