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
What is illegal identifier in java?
How do I write a self declaration?
What is ascii code?
Is namespace same as package in java?
What is the difference between notify and notifyall method?
Is empty list java?
Explain thread in java?
Why is singleton not thread safe?
Can we call the constructor of a class more than once for an object?
What is a condition in programming?
What happens if we override only equals?
Explain creating threads by implementing runnable class?
What are the basic concepts of OOPS in java?
What is difference between fileinputstream and filereader in java?
What are multiple inheritances? Is it supported by java?