多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

// Point X  public class foo {  public static void main(String[] args) throws Exception {  jave.io.PrintWriter out = new jave.io.PrintWriter(  new jave.io.OutputStreamWriter(System.out), true); out.println(“Hello”); }  }   Which statement at Point X on line 1 is required to allow this code to compile?()  

  • A、 No statement is required.
  • B、 import jave.io.*;
  • C、 include java.io.*;
  • D、 import jave.io.PrintWriter;
  • E、 include java.io.PrintWriter;
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题