Deloitte Interview Question

How can you stop clone in a singleton java class?

Interview Answer

Anonymous

May 20, 2020

Overide clone method and inside, throw new CloneNotSupportedException();

1