多选题

Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()

AString s = c.readLine();

Bchar[] c = c.readLine();

CString s = c.readConsole();

Dchar[] c = c.readConsole();

EString s = c.readLine("%s", "name ");

正确答案

来源:www.examk.com

答案解析

相似试题
  • Given that t1 is a reference to a live thread, which is true?()

    单选题查看答案

  • Management has decided that the database must be available 24 hours a day, 7 days a week. Given this requirement, which type of backup is required?()

    单选题查看答案

  • What view would you use to determine if a given tablespace is fully self-contained for the execution of a tablespace point-in-time recovery?()  

    单选题查看答案

  • At a run time, each Oracle Weblogic Server instance in a given domain creates an in-memory representation of the configuration described in this document()

    单选题查看答案

  • Given that t1 is a reference to a live thread, which is true?()

    单选题查看答案

  • Which canvas built-in display the given canvas in front of any stacked canvases?()

    单选题查看答案

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

    单选题查看答案

  • Given a class whose instances, when found in a collection of objects, are sorted by using the compare To method, which two statements are true?()

    多选题查看答案

  • Given two different character sets (A and B), which of the following must be true for A to be considered a strict superset of B?()

    多选题查看答案