Why is a singleton bad?


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

Post New Answer

More Core Java Interview Questions

What is substring of a string?

1 Answers  


What is the maximum size of byte array in java?

0 Answers  


What happens when you assigned a 'double' value to a 'String'?

8 Answers  


class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


How do you escape in java?

0 Answers  






how can i kill thread without stop() and destroy()

1 Answers  


Why does java have two ways to create child threads?

0 Answers  


I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.

1 Answers  


What language is pass by reference?

0 Answers  


What is the difference between iterator and enumeration ?

0 Answers  


Can you call a constructor within a constructor?

7 Answers  


What is the difference between static binding and dynamic binding?

0 Answers  


Categories