Question: 42
(Choose 1 answer)
What is the output of the following code snippet?
TreeMap<String, Integer> t = new TreeMap();
t.put("c", 1);
t.put("b", 2);
t.put("a", 3);
System.out.println(t.values());
A. [3,2,1]
B. ["c","b","a"]
C. ["a","b","c"]
D. [1,2,3]