Pregunta de entrevista de JK Tech

static vs singleton. which is used when