【JAVA io】学习记录

IO学习

1.最基本是FileInputStream  FileOutputStream; used for bytes; method: read(), write(); return ascii code;

2.character: FileReader FlieWrier; used for characters. These classes are based on 1.

3.BufferReader PrintWriter:   method is readLine(); but return char code except  a line terminator. so the output file will have no line terminator.

你可能感兴趣的:(【JAVA io】学习记录)