• 2022-06-16
    面那些选项能够创建一个OutputStream流,并且可以将内容附加到“file.txt”文件中
    A: OutputStream out=new FileOutputStream(“file.txt“);
    B: OutputStream out=new FileOutputStream(“file.txt“,”append”);
    C: OutputStream out=new FileOutputStream(“file.txt“,true);
    D: OutputStream out=new FileOutputStream(“file.txt“);