in Design Patterns by
Q:

How to prevent cloning of a singleton object?

► Click here to show 1 Answer

0 votes
by

Throw exception within the body of clone() method.

Loan/Mortgage
Learn More with Madanswer

Related questions

0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
...