Avoid cloning of singleton object

Hi,

Let me know  how to avoid the cloning of the singleton object.

Thanks
roy_sanuAsked:
Who is Participating?
 
CEHJCommented:
Make it final. Then the fact that is does NOT implement Cloneable will render it impossible to clone()
0
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.