jam/SumTest

From ggc

Jump to: navigation, search

01 package jam;
02 
03 import wiki.Wiki;
04 
05 /**
06  * All about my application.
07  @author My Name Here
08  */
09 public class SumTest
10 {
11   public static void main(String[] args)
12   {
13     Sum sum=new Sum();
14     sum.add(5);
15     sum.add(6);
16     sum.add(-4);
17     Wiki.out.println("The sum is "+sum.getCurrentTotal());
18   }
19 }


Download/View jam/SumTest.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter