Does codenameone support the clone interface? im having trouble compiling , it says:
cannot find symbol return super.clone();
I inherit it using
public class Branch implements Cloneable{
and my method is :
@Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
I call it using:
(Branch)currentBranch.clone()