Why should we use singleton pattern instead of static class?


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

Post New Answer

More Core Java Interview Questions

What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks

2 Answers  


What are access modifiers in Java ?

6 Answers  


What is data type example?

0 Answers  


What is difference between printf and scanf?

0 Answers  


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  






Is arraylist an object in java?

0 Answers  


Why we used break and continue statement in java?

0 Answers  


Can java cast null?

0 Answers  


Explain different ways of creating a thread?

0 Answers  


Can keyword be used as identifier?

0 Answers  


What is object class in java?

0 Answers  


Can you give names of Container classes?

0 Answers   Ordain Solutions,


Categories