PipedInputStream & PipedOutputStream classes is used to read & write data simultaneously - Core Java

Q.  The PipedInputStream and PipedOutputStream classes can be used to read and write data simultaneously.
- Published on 19 Oct 15

a. True
b. False

ANSWER: True
 

    Discussion

  • Nirja Shah   -Posted on 20 Aug 15
    More facilities are needed to support the inter-thread communication. Both these classes the PipedInputStream and PipedOutputStream are used for this purpose. Both these streams are connected with each other using the connect() method of the PipedOutputStream class.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)