Thursday, 8 December 2016

Char oriented Streams

1) Writer
        It is an abstract class and it is the super class for all the char-oriented o/p stream classes.
methods:-
public void write(int);
public void write(char[]);
public void write(char[],int offset,int length);
public void write(String);
public void close();
2) Reader
              It is an abstract class and it is the super class for all the char-oriented i/p stream classes.



methods:-
public int read();
public int read(char[]);
public int read(char[],int offset,int length);
public long skip(long);
public void close();

No comments:

Post a Comment

Featured post

Development Of JAVA Program