Příklad

public class ClassA implements Cloneable {
public final void clone throws CloneNotSupportedException () {
//...
}

Řešení
Postupujte podle správné signatury pro metodu clone.

public class ClassA implements Cloneable {
public final Object clone throws CloneNotSupportedException () {
//...
}
}