SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Java Interview

» Start this Course
(Practice similar questions for free)
Question:

A singleton class means that only one instance of the class can be created at a time. This is done by setting the contructor as private.

Author: Jerry Mathew



Answer:

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


0 / 5  (0 ratings)

1 answer(s) in total