What wrong i keep getting this error - Dog.java:53: error: reached end of file while parsing } ^ 1 error


#1

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

return age;

}

class Dog extends Animal {

int checkstatus;

public Dog(int status) {

    checkstatus = status;

}

public static void main(String[] args) {

Dog spike = new Dog(12);
spike.bark();
spike.run(1000);
spike.checkStatus();

int spikeAge = spike.getAge();

System.out.println(spikeAge);

int checkStatus = spike.status();

System.out.println(checkStatus);

}
}


#2

I think that means that you are missing a "}" at some point.