• Post Reply Bookmark Topic Watch Topic
  • New Topic

more about streams,readers, and writers

 
meire afe
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can someone explain in simple terms about streams, readers and writers.
 
Snigdha Solanki
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A stream is an ordered sequence of bytes. Java IO package provides classes like java.io.InputStream, java.io.OutputStream for accessing low level byte streams.
Whereas, Readers/Writer (java.io.InputStreamReader, java.io.OutputStreamWriter) are used for reading/writing characters.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!