试题详情
多项选择题创建一个向文件“file.txt”追加内容的输出流对象的语句有()。

A、FileOutputStream out=new FileOutputStream(“file.txt”,true);

B、OutputStream out=new FileOutputStream(“file.txt”,“append”);

C、OutputStream out=new FileOutputStream(“file.txt”);

D、FileOutputStream out=new FileOutputStream(new file(“file.txt”));

E、OutputStream out=new FileOutputStream(new File(“file.txt”),true.;

  • A,E
  • 关注下方微信公众号,在线模考后查看

热门试题