Digesting Singleton Design Pattern in Java
Keval Patel
29811

protected SingletonClass readResolve() { return getInstance(); }

Dont you think this should be

protected Object readResolve() { return getInstance(); }

Like what you read? Give akshay shah a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.