Société Générale interview question

Gave a paper and pen and asked to write a class and create an object using Singleton Pattern