Why we use methods in java?
No Answer is Posted For this Question
Be the First to Post Answer
Why is it important to initialize a variable?
what is Dictionary? and what purpose it is used for?
What is the symbol for line break?
What is a list in java?
what do you mean by classloader in java?
What is numeric function?
Which arithmetic operations can result in the throwing of an arithmeticexception?
How do you sort an array in java?
How variables are stored in memory?
Explain about interthread communication and how it takes place 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.
What is the purpose of the file class in java programming?