what is singlton class?where it is use in real time senario.
Answer / 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 |
What is difference between Heap and Stack Memory?
Explain the difference between collection api and stream api in java8?
What method is used to specify a container's layout in java programming?
What is a treeset class?
Why java is free from garbage values??
What is difference between arraylist and list in java?
What is meant by class loader and how many types are there?
What is a lambda expression ? What's its use ?
What is an object’s lock and which object’s have locks?
Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?
What is an enumeration class?
What is loop in java?