View Single Post
  #2 (permalink)  
Old 07-26-2007, 11:56 PM
Sircedric88 Sircedric88 is offline
Member
 
Join Date: Jul 2007
Location: Las Vegas
Posts: 14
Sircedric88 is on a distinguished road
Send a message via AIM to Sircedric88
Hey I'm a beginning programmer, but it seems like the test score variables were not initialized as field varialbes, therefore when initialized in one method, they are set only for that method.
(i.e. you never initialized test 1-3 to 0 in your second method, and you never set the value for testNumber.)
That's what I think, you have a bunch of variables (i didn't exactly know where you were goin with this, so if you tell me what you're trying to do, I could perhaps help you out
Reply With Quote