System.setOut(new PrintStream(new FileOutputStream(new File("F:"+File.separator+"txt.txt"))));
System.out.println("今年的中秋节你过的快乐吗?");System.out.println("asdadasdddddddddddsadasdasd");
简单明了,一模清新.
System.setOut(new PrintStream(new FileOutputStream(new File("F:"+File.separator+"txt.txt"))));
System.out.println("今年的中秋节你过的快乐吗?");System.out.println("asdadasdddddddddddsadasdasd");
简单明了,一模清新.