多选题 Given the proper import statement(s) and:
4. Console c = System. console();
5. char[] pw;
6. if(c == null) return;
7. pw = c.readPassword("%s", "pw: ");
8. System.out.println(c.readLine("%s", "input: "));
Which statements are true? (Choose all that apply.)
【正确答案】 D
【答案解析】