欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Oracle认证考试 > OCJP(310-065)

多项选择题

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

    A.String s = c.readLine();
    B.char[] c = c.readLine();
    C.String s = c.readConsole();
    D.char[] c = c.readConsole();
    E.String s = c.readLine("%s", "name ");

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题