Which is fastest collection in java?
explain the concept of virtual method invocation in polymorphism in detail?
what is the collable collections in java?
what is difference between Exception and Error?
Can a double value be cast to a byte?
What is method overloading with type promotion?
What is the use of set in java?
What are the major drawbacks of external iteration?
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 synchronization? How it can be achieved?
what is the constructor and how many types of constructors are used in java?
What is factor r?
what are depricated methods in threads and explain the lifecycle methods