Carey Brown wrote:You've got an array and and index into the array so data should be the i'th element in the array followed by getRegNum().
Yes, and avoid nulls.lee ji eun wrote:so i should write a method that search in the array ?
Line 3: Could "regNum" be null? possible but not likely. Even if it is null, checking it 100 times inside the loop isn't going to make a difference.lee ji eun wrote:
I presume you meant which version o JCreator not of the JDK.Al Hobbs wrote:Which version are you using
Does that mean JCreator Lite?. . . LE doesn't have a debugger apparently.
Al Hobbs wrote:It might be lite. Either way i think learning how to use a debugger is worth it over just using print statements.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.