Should database connections be singleton?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override a variable in java?
What is JVM ?
4 Answers Phantom Technologies, TCS,
What is immutable class in java?
What is difference between static and abstract class?
What is the difference between serial and throughput garbage collector?
Is boolean a data type in java?
Why we use set in java?
Is java pass by value or pass by reference?
Which api is provided by java for operations on set of objects?
Differentiate between array list and vector in java.
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.
Explain the difference between static and dynamic binding in java?