标签:import bsp java txt str throw file oid out
import java.io.File; import java.util.Scanner; import java.io.PrintWriter; public class hello { public static void main(String[] args) throws Exception { String wri="test writefile"; PrintWriter pw = new PrintWriter("pw.txt"); pw.println("飞雪连天射白鹿"); pw.println(wri); System.out.println("写出完毕!"); pw.close(); } }
标签:import bsp java txt str throw file oid out
原文地址:https://www.cnblogs.com/jodie2019/p/12273301.html