• Post Reply Bookmark Topic Watch Topic
  • New Topic

I/O Streams  RSS feed

 
sivanagaswathi kallam
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Stream is an abstraction that either producs or consumes information".

Can someone explain this in simple words please.
 
Knute Snortum
Sheriff
Posts: 4079
112
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if you were going to create a stream of characters from my name, Knute, it would be 'K', 'n', 'u', 't', 'e'. A stream of numbers from 1 to 5 would be 1, 2, 3, 4, 5.

Those are examples, but I really can't think of a simpler way to say it. Maybe (not quite as accurately) "A stream is something that makes or uses one thing at a time."
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!