Blame view

readline/src/pad/prac1/MainClass.java 391 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: " + editable.readLine());
		editable.close();
	}

}