Pergunta de entrevista da empresa Technosoft (Pakistan)

What singleton pattern and how do you ensure that only one instance is created