CoreJava/exp9/EceptionExample1.java
2024-05-09 09:10:51 +08:00

16 lines
249 B
Java

package exp9;
import java.io.*;
public class EceptionExample1
{
public static void main(String args[]) throws IOException
{
int c;
//try{
while((c=System.in.read())!=-1)
System.out.println(c);
//}
//catch(IOException e)
//{ }
}
}