in Education by (55.8k points)

How to prevent cloning of a singleton object?

1 Answer

0 votes
by (55.8k points)

How to prevent cloning of a singleton object?

Throw exception within the body of clone() method.

...