Roger G<br /> <br />Anybody who tries to make anything idiot proof has obviously underestimated the intelligence of an idiot.
Roger G<br /> <br />Anybody who tries to make anything idiot proof has obviously underestimated the intelligence of an idiot.
Originally posted by Roger Garner:
It seems to me that you are initializing the array but you are trying to call the arraysize. the size is null which is not valid in a for loop. the for loop will require an integer. there needs to be some sort of check to see if it is null before you try to use it. if it is null then there is no sense in entering the loop. I cannot be too much help but I hope this helps.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Originally posted by Barry Gaunt:
if (teamName.equalsIgnoreCase(teamStored.getName()));
Is that semicolon really there?
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
hmmm, I talked with my proffessor, he said to initilize teamlist WITHOUT redeclaring it.
Arent I initilizing teamList by doing:
ArrayList teamList = new ArrayList()?
At the beginning of the program there is
private ArrayList teamList;
and in:
private TournamentArchive (BufferedReader reader) throws IOException
SCJP 1.4<br /><a href="http://www.cise.ufl.edu/~sih" target="_blank" rel="nofollow">www.cise.ufl.edu/~sih</a>
"I'm not back." - Bill Harding, Twister
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|