多选题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.readLin

题目
多选题
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 );


相似考题