题目内容
给出下列【代码】注释标注的代码的输出结果。import java.util.*;public class E {public static void main(String args[]) {TreeMap treemap= new TreeMap();treemap.put(12,"hello");treemap.put(1,"java");treemap.put(5,"你好");treemap.put(3,"home");int m =treemap.firstKey();int n =treemap.lastKey();String s1 =treemap.get(m);String s2 =treemap.get(n);System.out.printf("%s,%s", s1,s2); //【代码】}}
查看答案
搜索结果不匹配?点我反馈
更多问题