试题详情
- 多项选择题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 ");
- A,E
关注下方微信公众号,在线模考后查看
热门试题