可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given that c is&#819


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 ");
参考答案
参考解析:
分类:OCJP(310-065)题库