Unit 5
Unit 5
Archana NS
Department of Computer Applications
Don Bosco College
TC Palya
I/O Programming
Stream
• A flow of information from source to
destination.
• Keyboard and monitor
• A file on hardware and a monitor
Byte oriented
classes / Binary
streams
• Input Stream
Classificati • Output stream
on of I/O
streams Character oriented
classes / Text
streams.
• Reader
• Writer
Input stream class is the super
class of all the classes which are
used to read data in the form of
bytes.
Classificati Output stream class is the super
on of I/O classes of all the classes which are
streams used to write data in the form of
characters.