Friday, August 5, 2011

Java Questions - 33

How would you make a copy of an entire Java object with its state?

Have this class implement Cloneable interface and call its method clone().

No comments: