 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| |
To
perform I/O in Java requires invoking a
|
|
|
|
method
as part of the System class
|
|
|
|
|
out
is a static PrintStream object
|
|
|
|
|
Because
it is static, you do not need to reference it
|
|
|
|
through
an object of class System (but can reference it
|
|
|
via
the class name instead)
|
|
|
|
|
The
println method displays the information followed
|
|
|
by a
newline
|
|
|
|
|
System.out.println(stuff);
|
|