
public class YourCloneableClass implements Cloneable
{
    private  int number;
    private String name;

    //Other instance variables and methods

    public Object clone( )
    {
       try
       {
          return super.clone( );//Invocation of clone
                               //in the base class Object
       }
       catch(CloneNotSupportedException e)
       {//This should not happen.
          return null; //To keep the compiler happy.
       }
    }

}
