edu.pdx.cs399J.lang
Class AddTwo

java.lang.Object
  extended by 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.


Constructor Summary
AddTwo()
           
 
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
 

Constructor Detail

AddTwo

public AddTwo()
Method Detail

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.