View Single Post
  #17 (permalink)  
Old 09-13-2008, 11:19 PM
CirKuT CirKuT is offline
Member
 
Join Date: Sep 2008
Posts: 49
CirKuT is on a distinguished road
This is an introduction to Java. I have 4 Java classes, and we keep building and changing the starter code hence the reason its not to sophisticated yet.
As for using the account already created, I know I need to take the accountID that was entered by the user and search the Account array to see if the ID exists and then return it. I understand what I need to do but I dont know how to write te syntax. Ive tried if statements and eveything.
Anytime I use the Account object in the getAcount method it says I cannot use it there, I get the red squiggly line uder it in NetBeans.

Any suggestions? My school expects me to learn how to search and return array values in three days and all my research has got me nowhere. Ive finished eveything else for this assignment but this last task is killing me!

Thanks everyone!

Morgan
Reply With Quote