EPAM Systems interview question

How to create Singleton class