What is singleton class and how can we make a class singleton?

Total Post:83

Points:415

Java 
 590  View(s)
Ratings:
Rate this:
  1. What is singleton class and how can we make a class singleton?

    A class which possess the ability of creating a single instance in a moment in JVM accompanied by the fact that using a Private Constructor would also convert the class to a Singleton Class.

Answer