Guidewire interview question

How to define a singleton class

Interview Answer

Anonymous

7 July 2020

Make constructor as private. Write a static method that has return type object of this singleton class