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 (
相关文章
相关标签/搜索