Chemistry, asked by sandeepboddepalli, 3 months ago

State whether the following statements about the
stream in Java.i) The two basic streams used are
the input and the output streams.ii) Filters are used
to read data from one stream and write it to another
stream.​

Answers

Answered by meersaima
1

Answer:

I THINK THE ANSWER IS THE SORT COMMAND.

Explanation:

HOPES IT HELP U.

Answered by mithun890
0

Answer:

Both are true statements for stream java.

Explanation:

(i)The two basic streams used are the input and the output streams

  • In Java, streams are the sequence of data that are read from the source and written to the destination.
  • An input stream is used to read data from the source. And, an output stream is used to write data to the destination.

(ii) Filters are usedto read data from one stream and write it to another    

     stream:

  • A Filter stream filters data as it is being read from or written to the stream.
  • The two filter streams for reading and writing data are Filter input Stream and Filter Output Stream ,respectively.
  • The java.io package contains only one sub-class of Filter Reader known as Push back Reader.
Similar questions