Why is singleton class used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.

6 Answers  


Define Multiprogramming and Multiprocessing in java.

0 Answers   Akamai Technologies,


how do you store phone numbers using java collections

5 Answers   Bosch, IBAB,


What do you mean by buffering?

0 Answers  


What will be the default values of all the elements of an array defined as an instance variable?

0 Answers  






What is a Presistent Object?

0 Answers   InfoAxon Technologies,


what is meant by multicast?

1 Answers  


What are the library functions in java?

0 Answers  


What language is java written?

0 Answers  


How does serialization work

3 Answers   Ordain Solutions,


What does 0 mean in boolean?

0 Answers  


How Vector class is synchronized,How to build user defined class as synchronized?

0 Answers  


Categories