Java Create TXT -файл
File myObj = new File("path");
myObj.createNewFile();
FileWriter myWriter = new FileWriter("path");
myWriter.write("text");
myWriter.close();
Vails
File myObj = new File("path");
myObj.createNewFile();
FileWriter myWriter = new FileWriter("path");
myWriter.write("text");
myWriter.close();
System.out.println("eimai o kalyteros programmer!!!");
System.out.println("oxi egw eimai!!!");