1. 首页
  2. 编程语言
  3. Perl
  4. java io InputStream and outputStream

java io InputStream and outputStream

上传者: 2020-08-31 21:34:20上传 RAR文件 2.77KB 热度 23次
适合初学者的一些代码,public static void main(String[] args) { File file1 = new File("c:\\aaa.txt");// 定位文件 if (!file1.exists()) { System.out.println("文件不存在...."); } else { try { InputStream is = new FileInputStream(file1);// 打开文件 byte[] cont = new byte[(int) file1.length()]; is.read(co
下载地址
用户评论
码姐姐匿名网友 2020-08-31 21:34:20

适合初学者的一些代码

码姐姐匿名网友 2020-08-31 21:34:21

挺好的,我正用得上!