Issue w/ Using Methods 9/13


It's saying "Did you call the bark method on the spike object? Make sure you call it inside of the main method.", but I can't see what I did wrong. Someone please help:(

Replace this line with your code.


Hey there.

Currently your Dog Class ends just after your Dog constructor. You'll need to move that extra curly brace and place it under the main method so that the Dog class also contains the bark method and main method. Once you do this it should work.

Hope that makes sense.


Aha! Great thanks so much.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.