Hexaware Technologies interview question

singleton class pattern