2
Reply

Give one use of a Singleton pattern.

Vithal Wadje

Vithal Wadje

13y
2.3k
0
Reply
    it is used for creating object once and use it throughout the application
    Use it to ensure that only one instance of a class exists.