如何写文件

xiaoxiao2024-12-20  10

try { pw = new PrintWriter(new FileOutputStream("文件名")); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } pw.print(字符串); pw.flush();
转载请注明原文地址: https://www.6miu.com/read-5021602.html

最新回复(0)