Specifications
Sun Services
Java™ Programming Language
Module 9, slide 10 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Console I/O
• The variable System.out enables you to write to
standard output.
It is an object of type PrintStream.
• The variable System.in enables you to read from
standard input.
It is an object of type InputStream.
• The variable System.err enables you to write to
standard error.
It is an object of type PrintStream.










