what is singlton class?where it is use in real time senario.
Answer Posted / asishbls
A java class is said to be a singleton class if it creates
only one instance per jvm.
It is used generally in utill class.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How to set the permissions to a file in java?
Can we start a thread twice in java?
What is the difference between the paint() and repaint() methods in java programming?
What is consumer in java?
What is meant by method?
What are the differences between checked exception and unchecked exception?
What is hotjava?
Can main() method in java can return any data?
Explain method overloading?
List types of storage classes in java?
How do you decide when to use arraylist and linkedlist?
Explain the inheritance?
Why do we use string?
How can a gui component handle its own events?
Can we override data members in java?