ReadNumberExample -- converts strings to numerical values.

Experiment:


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

The source.