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

<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/courses/learn-java/lessons/object-oriented-programming/exercises/methods-2?action=lesson_resume&link_content_target=interstitial_lesson

<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() {

System.out.println("Woof!");

}

public void run(int feet) {

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

}

public static void main(String[] args) {

Dog spike = new Dog(5);
spike.bark();
spike.run(39);

}

}

<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.