移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

现有:  1.  import java.util.*;      2.  class AddStuff  {  3.public static void main (String  []  args)    {      4.TreeSet  s= new TreeSet();      5.    s.add( "one"):      6.    s.add( "two"):  7.    //insert code here      8.for (String s2:  sorted)      9.System.out.print (s2+" ");      10.    }     11.  }  和四个代码片段:  s1.sortedSet  sorted=s.tailSet(s.first());  s2.sortedSet  sorted=s.tailSet(s.first());  s3.sortedSet  sorted=  (SortedSet)s .tailSet(s.first());  s4.SortedSet  sorted=  (SortSet)s .tailSet(s.first()); 分别插入到第7行,哪项可以编译?()     

发布日期:2021-05-17

现有:  1.  import java.util.*;      2.  class AddStu...
A

s2

B

sl

C

s2和s3

D

s2和s4

E

s2, s3和s4

F

sl. s2. s3和s4

试题解析

现有

现有是一个汉语词汇,拼音为xiàn yǒu,基本意思是现成的可以立即使用的。

中文名
现有
拼音
xiàn yǒu
外文名
available
解释
现成的可以立即使用的

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

Java认证考试

Java认证考试综合练习

去刷题