Singleton class

Can anyone explain about singleton class and when and where it should be used. Advantages and disadvantages of singleton class. then give the example program.
Topic archived. No new replies allowed.