My instructions aren't registering as complete for 10/13

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

Hi, i’m having a problem getting past
<Below this line, add a link to the EXACT exercise that you are stuck at.>
10/13

<In what way does your code behave incorrectly? Include ALL error messages.>
I’m not getting any error messages because the code is fine but it doesn’t register that i’ve completed the steps even though everything is in the right order.

```

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 ran " + feet + " feet!");

}

public static void main(String[] args) {

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

}

}

<do not remove the three backticks above>

Ok i’ve gotten past this at last. I had to make my run method barren of parameters and instructions. Then it recognized the 1st step as done

What should I do ? I can not pass it.

oh, i understood , i must finish it the first step,then second step… my English not good

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