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

The source.