📅  最后修改于: 2022-03-11 14:52:47.948000             🧑  作者: Mango
FileWriter() writer = new FileWriter("example.txt");
writer.write("First Line" + "\r\n"); //\r\n creates a new line
writer.write("Second Line");