Lesson 6

image Subclasses can be derived by entending a superclassing and using its attributes and behaviors. Syntax error is when your code doesn’t follow the correct formatting which results in all the code not running. Logic error is when the code ends up running but it doesn’t do what the user expects because of the logic behind it.

Lesson 9

image image Painter plus extends the painter class, so when the MyNeighbrhood has access to all the public void variables within the painter plus.java file.

Lesson 11

image In this multiple choice question, the user is struggling to figure out the logic error they are reciving in their code. They are trying to make their character go one way but the character keeps going in the wrong direction, therefore by using the getDirection feature, the user can figure out where their code may be going wrong and therefore change their code to make sure that it completes the logic they were going for.

Lesson 13

image The PatternPainter class extends the PainterPlus class and the PainterPlus class extends the Painter class, so the when the PatternPainter is initialized in the MyNeighborhood.java file it can also access all the functions from the Painter and PainterPlus classes.