answersLogoWhite

0

Difference between input stream class and writer class?

Updated: 8/17/2019
User Avatar

Wiki User

10y ago

Best Answer

The InputStream is an abstract class of the type input stream class. Every other input stream class is a sub class of InputStream class. Various methods defined therein to perform functions such as reading data bytes, closing streams, marking position in a file.

On the other hand, The Writer class is an output stream that supports writing of Unicode characters. It is an abstract class that cannot be directly instantiated. Its subclasses inherit all its properties of writing data characters, using output stream, into the data files.

by Raaj.1971 at the rate of Yahoo dot com

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between input stream class and writer class?
Write your answer...
Submit
Still have questions?
magnify glass
imp