What do you understand by the term Singleton?

devquora
devquora

Posted On: Feb 22, 2018

 

A singleton is a class that permits just a solitary case of itself to be made and offers access to that made example. It contains static factors that can oblige one of a kind and private cases of itself. It is utilized in situations when a client needs to confine instantiation of a class to just a single article. This is useful as a rule when a solitary item is required to facilitate activities over a framework.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java 10 Interview Questions

    What is the technique adopted to create an immutable class?

    In order to create an immutable class, follow the below steps:..

    Java 10 Interview Questions

    What methodology can be utilized to link to a database?

    The following steps can be utilized to link to a database:..

    Java 10 Interview Questions

    Enlist some features of JDK.

    It represents a Java Development Kit...