posted 24 years ago
According to Marcus Green exam 3 - the following statement is wrong:
An instance of FileInputStream may not be chained to an instance of FileOutputStream
Explanation:
Generally InputStreams can only be chained to other OutputStreams and OutputStreams can only be chained to other OutputStreams. The piped streams are an exception to this.
My doubt:
I know piped streams can be chained.How can InputStream be chained to another OutputStream ?
Is he talking about SequenceStream, where more than one stream can be combined to form a single Stream.
Please clarify.
cheers
Sankar