Given that c is a reference to a valid java.io.Con...
多选题

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

发布日期:2020-04-10

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 );

F.char[ ] c = c.readLine(%s, name );

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定