11/13 if I press "run" it will run and never stop running

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

<In what way does your code behave incorrectly? Include ALL error messages.>
There is no error message, but it just wont continue. I press “run” and it “runs” for days and ages :wink: Ther is no way to stop it but to go back one step (10/13) and forward again… it wont tick the exercises that i should do either. (so I tried it myself somehow…)
Is there anything I could do? Its very annoying, restarting and resetting all the time… :-/ especially if I cant proceed.

```

class Dog {
int age;

//constructor name=classname
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 int getAge(){
return age;
}

public static void main(String[] args) {

Dog spike = new Dog(5); //birth of dog
spike.bark();
spike.run(235);
System.out.println(spike.getAge());
}
}

<do not remove the three backticks above>

lol sry the moment I posted it (after hoping that it will solve it self for 2 days…) it now finally resetted itself and magically works ^^

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