Home > Java Programming > Collections > Questions and Answers
Q: |
1. HashMap props = new HashMap(); 2. props.put("key45", "some value"); 3. props.put("key12", "some other value"); 4. props.put("key39", "yet another value"); 5. Set s = props.keySet(); 6. // insert code here What, inserted at line 6, will sort the keys in the props HashMap? | ||||||||||
|
Comment on this Question | |
Name: | |
|