What is an input stream?
Input stream is a sequence of characters from any input device like a keyboard which is inserted to the program of a computer.