distinguish between console function and stream function
Answers
Answered by
0
Answer:
Hope you have dropped the hope of getting an answer. But still, I am answering after 2 year when the question was asked.
Console I/O refers to a system where program executor directly communicate to system input and output.There is no data shipper in between them.
Where stream, you can understand as data shipper. Which first collects the bits of data and then in one go, transfer the data to required resources(Such as system I/O or other data streams).
Analogy:- you can think stream as a big shopping bag. Which you fill n kg. tomatoes and in one go you can reach with yours n kg. tomatoes. Where, In console I/O, you fetch tomatoes one by one.
Similar questions