Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA PROGRAMMING

Reading Characters

To read a character from a BufferedReader, use Read()

Each time that read() is called, it reads a character from the input stream an returns as an integer value. It returns -1 when end of the stream is encountered.

Here is a program to read characters from console






Previous

Next