Issue w/ Using Methods 9/13

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/learn-java/lessons/object-oriented-programming/exercises/using-methods-1?action=resume

<In what way does your code behave incorrectly? Include ALL error messages.>
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.

<do not remove the three backticks above>

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.