adspace
Answer Posted / Vivekanand Sharma
By default, Singleton is not thread-safe because it relies on a single static instance. However, to ensure thread safety, you can use double-checked locking or the Enum approach.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers