Categories

Oct 16, 2019 in Design Patterns

Q:

How to prevent cloning of a singleton object?

1 Answer

Oct 16, 2019

Throw exception within the body of clone() method.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Oct 16, 2019 in Design Patterns
Oct 16, 2019 in Design Patterns
Oct 16, 2019 in Design Patterns
...