edu.pdx.cs399J.lang
Class AddTwo
java.lang.Object
edu.pdx.cs399J.lang.AddTwo
public class AddTwo
- extends Object
This program demonstrates exception handling by reading two
integers from the command line and prints their sum.
|
Method Summary |
static void |
main(String[] args)
Prints the sum of two numbers from the command line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddTwo
public AddTwo()
main
public static void main(String[] args)
- Prints the sum of two numbers from the command line.
Copyright © 2000-2009 Portland State University. All Rights Reserved.