()
| 3 | public class Singleton { |
| 4 | //Step1: We have created a private constructor of Singleton class & it can only be instantiated within this class. |
| 5 | private Singleton(){ |
| 6 | } |
| 7 | |
| 8 | //Step2: Create a static var to hold one instance of Singleton class. |
| 9 |
nothing calls this directly
no outgoing calls
no test coverage detected