多选题
Given:
2. import java.util.*;
3. public class GIS {
4. public static void main(String[] args) {
5. TreeMap<String, String> m1 = new TreeMap<String, String>();
6. m1.put("a", "amy"); m1.put("f", "frank");
7. NavigableMap<String, String> m2 = m1.descendingMap();
8. try {
9. m1.put("j", "john");
10. m2.put("m", "mary");
11. }
12. catch (Exception e) {System.out.print("ex "); }
13. m1.pollFirstEntry();
14. System.out.println(m1 + " " + m2);
15. } }
What is the result?
-
-
-
-
-
-
-
-