import java.io.*; public class Erind4{ static void loeFail(){ try{ BufferedReader sisse=new BufferedReader(new FileReader("juku.txt")); System.out.println(sisse.readLine()); }catch(IOException e){System.out.println("Probleem: "+e);} } public static void main(String argumendid[]){ loeFail(); } } /** * Faili puudumise erind töödeldakse meedtodi loeFail sees */