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


Home

JAVA PROGRAMMING

Byte and Character Stream Classes

Byte streams are defined by using two class hierarchies. At the top are two abstract classes: InputStream and OutputStream. Each of these abstract classes has several concrete subclasses.

Character defines are define by using two class hierarchies. At the tope are two abstract classes, Reader and Writer. The abstract classes Reader and Writer define several key methods that the other stream classes implement. Two most important methods are read() and Writer(), which read and writer characters of data, respectively.


Previous

Next