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);