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 linked hashmap and its features?

0 Answers  


How can u create the Object of class Without using "New" opertor?

3 Answers   IBM, TCS,


What is the purpose of the file class in java programming?

0 Answers  


What programs use java?

0 Answers  


What is thin driver and thick driver. why it is called so?

2 Answers   Logisoft,






How are this() and super() used with constructors in java programming?

0 Answers  


what is the volatile modifier for? : Java thread

0 Answers  


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


Why is it important to initialize a variable?

0 Answers  


Describe 2 different ways to concatenate two strings.

0 Answers   TCS,


What are the operands of instanceof operator?

3 Answers  


How does remove work in java?

0 Answers  


Categories