SE450: The clone Method [39/86] Previous pageContentsNext page

public class Employee 
implements Cloneable
{
public Object clone()
{
try
{
return super.clone();
}
catch(CloneNotSupportedException e)
{
return null; // won't happen
}
}
...
}

Previous pageContentsNext page