2
Reply

Give one use of a Singleton pattern.

Vithal Wadje

Vithal Wadje

12y
1.5k
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.