Java membaca

int i=System.in.read();//returns ASCII code of 1st character  
System.out.println((char)i);//will print the character  
01000101