package pad.prac1; import java.io.IOException; import java.io.InputStreamReader; public class MainClass { public static void main(String[] argv) throws IOException { InputStreamReader input = new InputStreamReader(System.in); EditableBufferedReader editable = new EditableBufferedReader(input); System.out.println("\nLine read: \n" + editable.readLine()); editable.close(); } }