What are the problems faced by java programmers who don't use layout managers?
No Answer is Posted For this Question
Be the First to Post Answer
How to optimize the javac output?
Difference between Reader/Writer and InputStream/Output Stream?
9 Answers Adobe, Kirusa, Verizon,
how to connect two diffrent applet files
What is map java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What is an argument in java?
What is a Java Virtual Machine?
Does java return by reference?
What are access modifiers?
Is java free for commercial?
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.
Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?