Pregunta de entrevista de Siemens

interview question are mainly based of core java and frameworks. 1- create singleton class. 2- what is the basic for storing data in hash map using setter getter methods.