經安全檢測,此網站為安全網站,請放心前往原始網址!

JAVA 筆記:I/O的簡介 @ 來喝杯JAVA咖啡 :: 痞客邦 PIXNET ::

不過要是中文字中間夾雜了1Byte大小的字元,讀取就會錯亂,這時候就沒有辦法再堅持使用FileInputStream了 FileReader就登場了! import java.io.*; public class Test {public static void main(String[] args) {FileReader fin; try {fin = new FileReader(" c:\\file.txt");

yaya741228.pixnet.net

網址安全性掃描由 google 提供