steps to create singleton class
DESCRIPTION
How to create Singleton ClassTRANSCRIPT
7/21/2019 Steps to Create Singleton Class
http://slidepdf.com/reader/full/steps-to-create-singleton-class 1/1
Steps to be followed to create singleton class
Create a private class. Add a private attribute with reference to the same class. Create a public static method with returning value of type reference to same class. Create implementation and create object in the implementation of public static method. Call static method in any program to create instance for the singleton class.