CS51 - Fall 2009 - Lecture 11
More complex while loops
can nest while loops
check that understand what happens when various lines in code are removed
Note use of two while loops within the main while loop in the run() method
See how sounds can be incorporated
instance variable in
class is used so that the
class can signal that the ball can stop being dribbled.
Discussion of keyword null and of how null pointer exceptions are caused.