Object n; try { n = super.clone(); } catch (CloneNotSupportedException ex) { System.out.println("caught it now! " + ex); } return n;
SingletonCheat2 s1 = (SingletonCheat2)SingletonCheat2.getInstance(); System.out.println(s1); Object s2 = s1.clone(); System.out.println(s2);