Online Programz

Input And Output Streaming

Stream:

A stream is a an abstraction that either produces or consumes information. A stream is linked to a physical device by the java I/O stream.

Types Of Stream:

  • Byte Stream
  • Character Stream

Byte Stream :

  • Handles input and output of bytes.
  • Classes: Input Stream and Output Stream (important classes)
  • Methods: read(), write() (important methods)

Character Stream:

  • Handles input and output of characters
  • Classes: Reader and Writer (important classes)
  • Methods: read() and write() (important methods)

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

COMMENTS

No Comments

There are no comments posted yet. Be the first one!

Leave a Reply