자격증/OCJP_ExamC
QUESTION 52
IT grow.
2018. 7. 26. 17:30
반응형
QUESTION 52Given 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 ");F. char[] c = c.readLine("%s", "name ");Solution : AE
반응형