网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
Whatinsertedatline39,willsortthekeysinthepropsHashMap?()

A.Arrays.sort(s);

B.s=newTreeSet(s);

C.Collections.sort(s);

D.s=newSortedSet(s);


参考答案

更多 “ Whatinsertedatline39,willsortthekeysinthepropsHashMap?() A.Arrays.sort(s);B.s=newTreeSet(s);C.Collections.sort(s);D.s=newSortedSet(s); ” 相关考题
考题 34.HashMapprops=newHashMap();35.props.put(”key45”,somevalue”);36.props.put(”key12”,someothervalue”);37.props.put(”key39”,yetanothervalue”);38.Sets=props.keySet();39.//insertcodehereWhat,insertedatline39,willsortthekeysinthepropsHashMap?()A.Arrays.sort(s);B.s=newTreeSet(s);C.Collections.sort(s);D.s=newSortedSet(s);

考题 Given:What,insertedatline39,willsortthekeysinthepropsHashMap?() A.Arrays.sort(s);B.s=newTreeSet(s);C.Collections.sort(s);D.s=newSortedSet(s);