Pergunta de entrevista da empresa Play Games24x7

Questions on Java, data structure and puzzle. Few questions are: 1) How to write singleton 2) Tell about Java memory model