Domanda di colloquio di EPAM Systems

Got questions regarding spring and most common annotations used in spring. How can we implement singleton design in java (code)