go to previous page   go to home page   go to next page

Can Java use characters from Java?

Answer:

Yes. (Seems only fair.)


Readers

Java Reader hierarchy

Reader is an abstract class from which character-oriented input streams are derived. These streams deliver 16-bit char data to a program. The source of the data may be in a variety of formats (such as UTF format on a disk file). The diagram shows several Reader classes.

All these classes are character-oriented input streams. Don't memorize this diagram. Mostly all you need for character input is Scanner.


QUESTION 8:

Is a Writer a character-oriented output stream or a byte-oriented output stream?


go to previous page   go to home page   go to next page