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 |
Why is it called a string?
Howmany classes that package java.applet.* contains?
What is the functionality of Webserver?
What is treeset in java collection?
Why java is said to be pass-by-value ?
Can we overload run() method in java?
What is __ init __ functions?
How are multiple inheritances done in Java?
how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
Can an abstract class have a constructor?
Why method overriding is used?
Does treeset use compareto?