複選題
154. 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? (Choose two.)
(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(9), B(6), C(8), D(1), E(7) #2720722