
import java.io.*; public class test { public static void main(String[] args){ File file = new File("output.txt"); FileWriter writer = null; writer = new FileWriter(file, true); writer.write("hi"); writer.flush(); } } my computer is MacBook and there was this error in the last 3 lines I can't find what the problem is
https://stackoverflow.com/questions/66631747/i-dont-know-where-is-the-ioexcpetion-is-thrown March 15, 2021 at 10:46AM
没有评论:
发表评论