diff --git a/IO b/IO new file mode 100644 index 0000000..6f8edba --- /dev/null +++ b/IO @@ -0,0 +1,4 @@ +System.out.println("simple message"); +System.err.println("error message"); +int i=System.in.read();//returns ASCII code of 1st character +System.out.println((char)i);//will print the character