import java.io.*; class Program3 { public static void main(String args[]) throws IOException { FileWriter firo = new FileWriter("adat2.txt", true); BufferedWriter iro = new BufferedWriter(firo); iro.write("Valai"); iro.close(); firo.close(); System.out.println("Kiírva"); } }