Input and Output
Java I/O is based on input streams and output streams
There are three predefined standard streams:
The print and println methods write to standard output
Stream
System.in
System.out
System.err
Purpose
reading input
writing output
writing errors
Default Device
keyboard
monitor
monitor
Previous slide
Next slide
Back to first slide
View graphic version