Submitted Questions

  • What is singleton class?

    What is the exact use of singleton class?Just using private class constructor makes it a singleton class?

    Abhishek Marshetty

    • Nov 18th, 2015

    The Singletons purpose is to control object creation, limiting the number of obejcts to one only. Since there is only one Singleton instance, any instance fields of a Singleton will occur only once pe...