java讀取文件內容,輸出控制檯以及亂碼問題

字符流: public class zifuliuduqu { public static void main(String args[]) { File f=new File(「d:/test11.sql」); try { FileReader fr=new FileReader(f); char b[]=new char[(int) f.length()]; fr.read(b); for (
相關文章
相關標籤/搜索