This week's lab |
Some of you might start seeing run-time errors (the ugly red stuff at the bottom of the eclipse window) indicating that you have a NullPointerException. This generally means that you have sent a message to a variable that has not yet been initialized.
Recall that instance variables representing objects are initialized to null if you don't give them a value. If you send a message to null then the system will crash. Be warned!!
This week's lab |