Is singleton scope thread safe?
Answer / 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 |
Tell us the kind of features that you add to your design.
What do you do to ensure that your design is carried out perfectly from your end?
. Tell us about the differences between desktop designing and mobile designing.
When to Use a Factory Pattern?
. Explain your area of focus.
What are the main types of concurrency design patterns?
What are the most important software design patterns?
how many types of cookies in php
Which design pattern is mostly used in net?
Where should we use singleton design pattern?
Is mvc is a design pattern?
If a client does not like a design what will your approach be?