What was printed?
Was that null from printing courseName?
What was the value of i when the null was found? Add the printing of i to what is printed.
Does the getCourseName() method return...
Type: Posts; User: Norm
What was printed?
Was that null from printing courseName?
What was the value of i when the null was found? Add the printing of i to what is printed.
Does the getCourseName() method return...
What is the value of courseName? Add a println() just before line 32 to print out its value.
Can you find line 32? And post it here?
There is a null value on line 32 when it is executed. Look at line 32, find where the null value is and then backtrack in the code to see where it came from. If you can't see what variable has a null...
There is a null value on line 33 when it is executed. Look at line 33, find where the null value is and then backtrack in the code to see where it came from. If you can't see what variable has a...