单项选择题
//省略源代码
try{
FileOutputStream out = new FileOutputStream("lianxi.txt"); //使用out对象写文件,省略源代码 out.close(); } catch(IOException ioe){ System.out.println("输入输出错误!");
}
//省略源代码
在上述源代码中,如果lianxi.txt不存在,则( )。
A、程序会自动创建该文件
B、out对象会往其他文件中写内容
C、程序不能编译通过
D、程序会报出“输入输出错误!”