SCJP程序员认证考试

单选题//point X    public class foo (   public static void main (Stringargs) throws Exception {   printWriter out = new PrintWriter (new )  java.io.outputStreamWriter (System.out), true;   out.printIn(“Hello”);    }   )   Which statement at PointX on line 1 

题目
单选题
//point X    public class foo (   public static void main (Stringargs) throws Exception {   printWriter out = new PrintWriter (new )  java.io.outputStreamWriter (System.out), true;   out.printIn(“Hello”);    }   )   Which statement at PointX on line 1 allows this code to compile and run?()
A

 Import java.io.PrintWriter;

B

 Include java.io.PrintWriter;

C

 Import java.io.OutputStreamWriter;

D

 Include java.io.OutputStreamWriter;

E

 No statement is needed.

更多“//point X    public class foo (   public static void main (S”相关问题