What is consumer interface?
No Answer is Posted For this Question
Be the First to Post Answer
What is a boolean used for?
Java support call by reference (pass by reference) ?
Tell me the difference between an applet and a Japplet?
Explain about static nested classes in java?
What does string mean in java?
Which category the java thread do fall in?
what is Abstract DataType?
What do you mean by a JVM?
what do you mean by classloader?
Ducking is automatic in checked exception?True or false
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 the function of compareto in java?