ReadLineExample -- reading lines from the standard input.

This example calculates the average length of lines read from the standard input.


To see this example in action:
  1. Compile the Java source file, ReadLineExample.java:
    	javac ReadLineExample.java
    
  2. Run the class:
    	java ReadLineExample
    

The source.