Why should we use singleton pattern instead of static class?
No Answer is Posted For this Question
Be the First to Post Answer
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.
What is command line used for?
Can a class with private constructor be extended?
Explain the differences between abstraction and encapsulation?
Can you access the private method from outside the class?
What is java thread dump, how can we get java thread dump of a program?
What are the types of exceptions?
What are E and PI?
What is application system?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.
What are the different types of constructor?