试题详情
- 单项选择题 //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.
- A
关注下方微信公众号,在线模考后查看
热门试题
- 求[10,1000]之间满足除以7余5、
- What is th
- 如果想把一个对象写入一个流,那么这个类就
- 编写一个Java程序,用if-else语
- 给一个不多于5位的正整数,要求:一、求它
- 辗转相除法:从键盘输入两个数512113
- For which̳
- A developer&en
- 面板缺省搭配是什么布局管理器?()
- What is th
- Given that&ensp
- Which JSP̳
- 什么是单例模式(Singleton)?
- 请说出 ArrayList, Vecto
- 1. public&ensp
- public class&e
- Assume the&ens
- 现有: &en
- What is th
- 输入3个数a,b,c,按大小顺序输出。