First page Back Continue Last page Overview Graphics
Input Superclasses
Reader and InputStream define similar APIs but for different data types. Both are abstract classes!
Reader contains these methods for reading characters and arrays of characters.
int read() //Read a single character,-1 is ends.
int read(char cbuf[]) //Read chars into an array
//read chars into a portion of the array.
int read(char cbuf[], int offset, int length)