多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

Given: Which code, inserted at line 4, guarantees that this program will output [1, 2]()?

  • A、Set set = new TreeSet();
  • B、Set set = new HashSet();
  • C、Set set = new SortedSet();
  • D、List set = new SortedList();
  • E、Set set = new LinkedHashSet();
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题