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?()
- AString s = c.readLine();
- Bchar[ ] c = c.readLine();
- CString s = c.readConsole();
- Dchar[ ] c = c.readConsole();
- EString s = c.readLine("%s", "name ");
- Fchar[ ] c = c.readLine("%s", "name ");