what is singlton class?where it is use in real time senario.



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

Post New Answer

More Core Java Interview Questions

what is check p object in java

1 Answers   TCS,


Can we have a abstract class withought any method? What is a purspose of this?

3 Answers  


what is difference between set and list in collection?

3 Answers   Satyam,


What is a condition in programming?

0 Answers  


Difference between overriding and overloading in java?

0 Answers  






What are the different collection views provided by maps?

0 Answers  


what methods would you overwrite in java.lang.object class?

0 Answers  


What is the difference between Array and Hash Table?

0 Answers   Impetus,


What is the maximum size of array in java?

0 Answers  


Distinguish method overloading and overriding

2 Answers   Tech Mahindra,


What is the difference between overloading and overriding a function?

13 Answers   eG Innovations, Infosys, TCS,


Which is the best sorting technique in java?

0 Answers  


Categories