StandardInputOutputExample
-- using
System.in
and
System.out
for simple input and output.
To see this example in action:
Compile the Java source file, StandardInputOutputExample.java:
javac StandardInputOutputExample.java
Run the class:
java StandardInputOutputExample
The source.