Actually I have no clue of how to fix line 4 to 17 but I have fixed the Sum method and it looks something like;
Well I can see how this can be fixed, but I need to know your motive in writing lines 4 to 17, are they for testing your code like in a main as VernonDozier says??
Also why does your sum() method need to return an "Integer" object, would an "int" not be just fine ?
Last edited by stephen84s; Aug 29th, 2009 at 11:22 am.
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
Offline 1,316 posts
since Jul 2007