0 votes
21 views

How to prevent cloning of a singleton object?

in Education by (51.6k points)

1 Answer

0 votes

How to prevent cloning of a singleton object?

Throw exception within the body of clone() method.

by (51.6k points)

Related questions

0 votes
1 answer 8 views
0 votes
1 answer 19 views
0 votes
1 answer 22 views
0 votes
1 answer 13 views
0 votes
1 answer 10 views
0 votes
1 answer 24 views
0 votes
1 answer 17 views
0 votes
1 answer 22 views
0 votes
1 answer 25 views
25 views asked Dec 5, 2020 in Technology by JackTerrance (193k points)
...