if 'i' is specified to be as large as the length of numOfhits, what could 'i++' become and what error might that cause? Modifying the for loop control variable inside the for loop body is always...
Type: Posts; User: GregBrannon
if 'i' is specified to be as large as the length of numOfhits, what could 'i++' become and what error might that cause? Modifying the for loop control variable inside the for loop body is always...
So at line 78 in the BaseballClient class, the toString() method, the index is exceeding the number of elements. Try to find that and fix it yourself, but if you can't, post the code being pointed...
Error?
You don't need a semi-colon at the end of this line (the first error):
for(int i = 0; i <atBats.length;i++);
The for statement in the next error is incomplete. Review it and fix it.