Categories

Oct 16, 2019 in Design Patterns
Q:

Can we create a clone of a singleton object?

A - true

B - false

1 Answer

Oct 16, 2019

true. It is possible to get a clone of singleton object. Throw exception within the body of clone() method to prevent cloning.

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
...