What is singleton class and how can we make a class singleton? code example
Example: 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