16 lines
249 B
Java
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)
|
|
//{ }
|
|
}
|
|
} |