试题详情
多项选择题Which two construct an OutputSream that appends to the file “file.txt”? ()

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

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

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

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

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

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

热门试题