在J2EE中,利用下列构造函数准备对文件abc.txt操作,但文件abc.txt在当前目录不存在,不会产生运行时错误的是()。 A: BufferedReader breader=new BufferedReader(new FileReader("abc.txt")); B: PrintWriter out = new PrintWriter(new FileWriter(“abc.txt”),true); C: FileInputStream fin = new FileInputStream(“abc.txt”); D: OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(“abc.txt”));
在J2EE中,利用下列构造函数准备对文件abc.txt操作,但文件abc.txt在当前目录不存在,不会产生运行时错误的是()。 A: BufferedReader breader=new BufferedReader(new FileReader("abc.txt")); B: PrintWriter out = new PrintWriter(new FileWriter(“abc.txt”),true); C: FileInputStream fin = new FileInputStream(“abc.txt”); D: OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(“abc.txt”));
1