<In what way does your code behave incorrectly? Include ALL error messages.>
I keep getting the following error message: “Did you call the bark method on the spike object? Make sure you call it inside of the main method.”
As far as I can tell my code follows the instructions, and I do get the required output at the output window to the right.
Any help on this error will be appreciated.
In the example class Car, the method startEngine is not in blue text, whereas the method bark is in blue text in the picture yet it is not displayed in blue text in my coding window. Any help woul be much apprecitated as I can’t continue till it’s fixed.