Created
March 8, 2016 19:12
-
-
Save rugyoga/8ac3423cf0bb2d1849af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
class Echo | |
{ | |
public static void main(String[] args) | |
throws IOException | |
{ | |
BufferedReader reader = reader = new BufferedReader(new InputStreamReader(System.in)); | |
String line; | |
while ((line = reader.readLine()) != null) { | |
System.out.println(line); | |
} | |
reader.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment