Answers for "What is Singleton and where do you use in your framework?"

0

What is Singleton and where do you use in your framework?

Singleton: is a design pattern: one instance everywhere. nothing else
The driver class: we use static method to get driver 
so only one instance for all object 
We made the driver class constructor Private, 
so that one instance being used in our framework
One instance being used for all entire framework
Posted by: Guest on May-28-2021

Code answers related to "What is Singleton and where do you use in your framework?"

Browse Popular Code Answers by Language