Stuck at 65% on learn java


when I type public void run() { } in between the bark and main command it did not work


Is this what your code looks like?

    public void run(int feet) {
        System.out.println("Your dog ran " + feet + " feet!");


yes I did the same thing it wont work


Which step is hanging? 1, 2, 3 or 4?


Is someone on codecademy going to fix fix? I also reported this bug a few days back and it doesn't seem like its fixed.


Yeah same thing happened here. Make me wanna bark the code.


Here is the error they are likely experiencing.

For the record, if you are getting this error, you've gone too far ahead. You have to start with step one and then do what it says in step two. If you skip ahead and go straight for step 4 then it will be unable to detect the method.


your code shoold look like this.

class Dog extends Animal {

int age;

public Dog(int dogsAge) {
age = dogsAge;


public void bark() {



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);
int spikeAge = spike.getAge();




Anyone that gets stuck on the editor try typing just

public void bark() {



This worked for me. Make sure that you clear out all of the rest of the code except for the main method and it should let you pass this step.


Hey were you able to figure out how to pass 65%? It wont work for me. I get the same error you had.


just reply 3 or 4 times, without changing the code, and you can request the solution from the popup menu, and study that..


You should write a run method between the bark method and the main.

Here is what your code should look like