Question: 35
(Choose 1 answer)
What is the output of the following code snippet?
Map<Integer, Integer> myMap = new TreeMap<>();
myMap.put(3,4);
myMap.put(1,4);
myMap.put(2,5);
System.out.println(myMap);
A. {1=4, 2=5, 3=4}
B. {3=4, 2=5, 1=4}
C. {1=4, 3-4, 2=5}
D. {3=4, 14, 2=5}