当前位置:SCJP程序员认证考试题库

问题:

[单选]

34. HashMap props = new HashMap(); 
35. props.put(”key45”, “some value”); 
36. props.put(”key12”, “some other value”); 
37. props.put(”key39”, “yet another value”); 
38. Set s = props.keySet(); 
39. // insert code here 
What, inserted at line 39, will sort the keys in the props HashMap?() 

A .  Arrays.sort(s);
B .  s = new TreeSet(s);
C .  Collections.sort(s);
D .  s = new SortedSet(s);

高血压患者应吃什么样的饮食?() 低脂。 低盐。 多维生素。 清淡。 德育的全民性 编制检索工具的第一步是() 档案著录。 分类标引。 主题标引。 档案标引。 足球场球门的高度应是()。 2.42米。 2.44米。 2.40米。 2.35米。 ()属于金融投资的内容。 土地。 机器设备。 厂房。 债券。

34. HashMap props = new HashMap(); 
35. props.put(”key45”, “some value”); 
36. props.put(”key12”, “some other value”); 
37. props.put(”key39”, “yet another value”); 
38. Set s = props.keySet(); 
39. // insert code here 
What, inserted at line 39, will sort the keys in the props HashMap?() 

参考答案:

  参考解析

本题暂无解析

在线 客服