Deloitte interview question

what is singleton class and how to implement?