摘要:
fileInputStream是字节byte型 FileWriter 是字节char型 补充案例(按行读取) package com.IO; import java.io.*; public class Line { public static void main(String[] args) { 阅读全文
posted @ 2022-04-17 15:42
爱豆技术部
阅读(46)
评论(0)
推荐(0)
摘要:
字节流和字符流区别 使用字节流操作非文本文件:.jpg, .mp3 , .mp4 , .doc , .ppt 文本文件:.txt .java .c .cpp 》建议使用字符流操作 读取案例1(此处关闭流均已省略) fileReader = new FileReader(file1); fileWri 阅读全文
posted @ 2022-04-17 10:04
爱豆技术部
阅读(56)
评论(0)
推荐(0)

浙公网安备 33010602011771号