Hi People, this program throwing bug value. it should print out whatever i give it as input.
anything woring i am doing?
public class Hello {
public static void main( String args[])
{
int j;
try {
j = System.in.read();
System.out.print(j);
} catch (IOException e) {
System.out.println("error");
}}
