1. import java.util.*;
2.
3. class SomeClass {
4. public static void main(String... args) {
5. TreeMap<String, Integer> myMap = new TreeMap<String, Integer>();
6. myMap.put("d", 1);
7. myMap.put("b", 2);
8. myMap.put("e", 3);
9. myMap.put("c", 4);
10. // space for inserting code
11. System.out.println(myMap2.get("b") + " " + myMap2.get("d"));
12. }
13. }
Which lines of code, placed independently in line 10 will result in printing "2 1" (without quotes)? (choose 2 options)
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать