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 a transient variable?

5 Answers  


How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }

1 Answers  


What data type is string java?

0 Answers  


What do you understand by Header linked List?

0 Answers   Genpact,


how to print the below in java?thanks in advance.... * * * * * * * *

3 Answers  


Name the methods in mouse listeners ?

4 Answers  


What is the synonym of procedure?

0 Answers  


Distinguish between a predicate and a function?

0 Answers  


What is an infinite loop? How infinite loop is declared?

0 Answers  


What is java dot?

0 Answers  


What is stringbuffer in java?

0 Answers  


State two differences between C and Java.

0 Answers   Syntel, Visa,


Categories