Example
public class
ClassA
implements
Cloneable
{
public final
void clone
throws
CloneNotSupportedException () {
//...
}
Solution
Follow proper signature for clone method
.
public class
ClassA
implements
Cloneable
{
public final
Object clone
throws
CloneNotSupportedException () {
//...
}
}