Infosys Interview Question

Can you explain singleton class with an example