Pregunta de entrevista de Siemens Digital Industries Software

What is singleton pattern? write the code.