Input can be read into a program from a console window, and output can be written to such a window, as an alternative to a graphical interface. This can only be done from applications, however, not from applets. Input and output is transmitted via an I/O stream.