What does singleton mean in java?
Answer / Peer Golden Hansda
In Java, Singleton is a design pattern that restricts the instantiation of a class to a single instance. This ensures that only one object of this class can be created and provides a global point of access to it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name the methods in mouse listeners ?
What are the ways in which a thread can enter the waiting state?
Can we extend immutable class?
Explain about transient variables in java?
What is constructor and virtual function?
What happens when a thrown exception is not handled?
Which method is used to find that the object is exited or not?
What is the major drawback of internal iteration over external iteration?
What are advantages and disadvantages of OOPs?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What is the use of isempty in java?
What is the size of int?