• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inputstream and outputstreams

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which of these can act as both input and as an output stream,based on the classes provided by the java.io.package ?
select all valid answers
a) A file
b) A network connection
c) A pipe
d) A string
e) An array of chars
answers are a,b,c,d,e
can anybody explain the answers if possible,i dont know much on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic