What is difference between static class and singleton pattern?


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

Post New Answer

More Core Java Interview Questions

What is binary tree in java?

0 Answers  


Can I import same package/class twice?

0 Answers  


i need to know the website that i can compile and run a java code in online.(while system doesn't contain any jdk and jre)

0 Answers  


What is bigger kb or mb?

0 Answers  


What is considered an anti pattern?

0 Answers  






What is arraylist e in java?

0 Answers  


This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .

3 Answers  


Why java is called not pure object oriented language?

0 Answers  


Add a value x to array from index l to r where 0 <= l <= r <= n-1

0 Answers   Amazon,


What is defined as false sharing in the context of multithreading?

0 Answers  


Is it possible to use string in the switch case?

0 Answers  


what is the use of datasource in core java?

3 Answers   Satyam,


Categories