+ 3
Singleton class is a type of design pattern.
when we say the class is singleton class then it is assumed that there can be only one object of that class can be created.
For example if you create a software for which one instance can be run on the system at a time then you need to create a singleton class



