Advertisement
Methods | Description |
---|---|
int read() | This method reads a characters from the input stream. |
int read(char[] ch) | This method reads a chunk of characters from the input stream and store them in its char array, ch. |
close() | This method closes this output stream and also frees any system resources connected with it. |
Advertisement
Methods | Description |
---|---|
abstract void flush() | This method flushes the output steam by forcing out buffered bytes to be written out. |
void write(int c) | This method writes a characters(contained in an int) to the output stream. |
void write(char[] arr) | This method writes a whole char array(arr) to the output stream. |
abstract void close() | This method closes this output stream and also frees any resources connected with this output stream. |
Advertisement
Advertisement
Please check our latest addition
C#, PYTHON and DJANGO
Advertisement