Why singleton pattern is better than creating singleton class with static instance?


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

Post New Answer

More Core Java Interview Questions

What is Major and importance difference between for and foreach loop ?

0 Answers   Infosys,


A class can be a subclass of itself?

2 Answers   Genesis,


What is boolean in java?

0 Answers  


Why is a singleton bad?

0 Answers  


How many times finalize method will be invoked? Who invokes finalize() method in java?

0 Answers  


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

0 Answers  


What is nan inf?

0 Answers  


What do you mean by local class?

0 Answers  


Can we call the Thread.sleep in Synchyronozed block?

5 Answers   Logica CMG,


What are functions in java?

0 Answers  


Relationship between an event-listener interface and an event-adapter class?

1 Answers  


What is unicode?

1 Answers  


Categories