MAERSK Interview Question

write a Singleton class