Filtered streams are simply wrappers around underlying input or output streams- Wrapper classes

Q.  Filtered streams are simply wrappers around underlying input or output streams that transparently provide some extended level of functionality.
- Published on 17 Jul 15

a. True
b. False

ANSWER: True
 

    Discussion

  • Prajakta Pandit   -Posted on 15 Dec 15

    - The above statement is true.

    - Filtered streams are simply wrappers around underlying input or output streams that transparently provide some extended level of functionality.

    - Typical extensions are buffering, zip/unzip etc.

    - It has the following constructors:

    1. FilterInputStream(InputStream in)
    2. FilterOuputStream(OutputStream out)

    - This methods provided in these classes that are identical to those in InputStream and OuputStream.

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.)