参考链接:https://blog.csdn.net/Blinstar/article/details/76268722 循环写小错误: 我的代码: FileInputStream fis=new FileInputStream("E:\\idea_workspace\\相见恨晚.txt"); FileOutputStream fos=new FileOutputStream("First_test\\心之所往.txt"); int r; while ((r= fis.read()) !=-1){ char...