Methods 10/13: Complies and displays correct result but doesn't let me move on?


<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
Little message at the bottom says "Did you create the run method? Place it in between the bark and main method.


class Dog {

int age;

public Dog(int dogsAge) {

age = dogsAge;


public void bark() {



public void run(int feet) {

System.out.println("Your dog run " + feet + 
                   " feet!");


public static void main(String[] args) {

Dog spike = new Dog(5);



<do not remove the three backticks above>

Also the first step box on the left is exed like it is incorrect

It may be trying to run System.out.println("Your dog run " + feet + "feet!"); and resulting in “Your dog run 39 feet.” instead of “Your dog ran 39 feet.”

Could be codecademy nitpicking. Otherwise, I don’t seen an issue.

I tried fixing that and it still shows the same error

Having the same issue! :frowning:

even i had the same issue, try to run the instructions step by step it worked out for me

Yes. Same here. I tried to run the instructions step by step and it worked out for me.

did they fix this yet ?

Doesn’t look like (they have fixed it as yet) however I’ve tried the advise of the two before me to run the instructions step by step (& that apparently means not just commenting out the bits but actually deleting it) and then it worked out for me too.

im having the same issue as well nothing works for me

Worked for me as well, thank you!

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