When i was reading about clonable interface, i didn't understood this line.... "The clonable interface defines no members" there was no futher explanation about it............ can anyone please explain it?
Cloneable Interface is a Marker Interface. Marker interfaces are used to specify that a class belongs to a logical family or grouping. These interfaces are used for tagging the classes into a category.
eg. Cloneable Interface enables a class to be cloned using clone() method defined in Object class. If a class does not implements Cloneable Interface, clone() method will throw CloneNotSupportedException.