Try to use method "int read ()" defined in BufferedReader.
This method reads a single character, from the Java doc :
"Returns : The character read, as an integer in the range 0 to 65535 (0x00-0xffff), or -1 if the end of the stream has been reached "
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.