package io.day03;

import java.io.FileOutputStream;

import java.io.OutputStream;

public class day03out {

 public static void main(String[] args) throws Exception {   

//第二个参数,表示是否向末尾追加,true: 追加  

 //false:不追加(默认)   

OutputStream ios =new FileOutputStream("src/b.txt",true);  

 byte[] bs ={97,98,99,100,101};

//  ios.write(97);  

 ios.write(bs);  

 ios.close();  

}

}

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2021-09-23
  • 2021-10-29
  • 2021-12-07
  • 2022-01-08
  • 2021-12-16
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2022-02-26
  • 2021-12-14
  • 2021-06-21
  • 2021-05-29
  • 2021-09-22
  • 2021-11-02
相关资源
相似解决方案