123456789101112131415161718 |
- package samples.technology.reference;
- class CloneClass implements Cloneable{
-
- public int aInt;
- public Object clone(){
-
- CloneClass o = null;
- try{
- o = (CloneClass)super.clone();
- }catch(CloneNotSupportedException e){
- e.printStackTrace();
- }
- return o;
-
- }
-
- }
|