1.

How To Prevent Cloning Of A Singleton Object?

Answer»

Throw exception WITHIN the BODY of CLONE() METHOD.

Throw exception within the body of clone() method.



Discussion

No Comment Found