Chapter 8 Flashcards
1
Q
What are streams for
A
For date sending and receiving. We can say its a data channel
2
Q
Does keyboard, mouse or printer are nodes
A
Yes
3
Q
What is node stream
A
Works as a data channel between nodes
4
Q
What is filter stream
A
Do additional filtering on an existing stream. It is kind of additional stream. Its work in data processing.
5
Q
What is byte, reader/writer stream
A
If data handles in byte then stream is called byte stream and if data handles in 2 bytes or character then it is called reader/writer stream.
6
Q
What are types of stream
A
- Input stream
- Output stream
- File input stream (to connect files)
- File output stream (to connect files)
- Byte array input stream
- Byte array output stream
- Buffered input stream
- Buffered output stream
- Buffered reader stream
- Buffered writer stream
7
Q
What external library is used for streams
A
java.io
8
Q
What are blocking methods
A
They block execution of code until they complete