在Java中,阅读下列文件定入的Java代码,共有( )处错误_x000D_ import java.io.*;_x000D_ public class TestIO {_x000D_ public static void main(String []args){_x000D_ String str ="文件写入练习";_x000D_ FileWriter fw = null; //1_x000D_ try{_x000D_ fw = new FileWriter("c:\mytext.txt"); //2_x000D_ fw.writerToEnd(str); //3_x000D_ }catch(IOException ex){_x000D_ ex.printStackTrace();_x000D_ }_x000D_ }_x000D_ }
B.1 C.2 D.3正确答案C