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 the difference between sleep and wait in java?
Which access specifier can be used with class ?
How are multiple inheritances done in Java?
Is there a way to increase the size of an array after its declaration?
What is the difference between the size and capacity of a vector?
How will you compute size of a structure?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
How can constructor chaining be done by using the super keyword?
Tell us something about an iterator.
What do you mean by compiler?
What is object in java?
How do you compare two strings lexicographically?
Explain the difference between comparator and comparable in java?
What is difference between next () and nextline () in java?
What is mutable object and immutable object?