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

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);

}
}

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

Every opening braces { needs one closing braces }. The only purpose of the extra braces is to provide scope-limit . If you put curly braces in the wrong places or omit curly braces where the braces should be, your program probably won’t work at all. Moreover, If you don’t indent lines of code in an informative manner , your program will still work correctly, but neither you nor any other programmer will be able to figure out what you were thinking when you wrote the code. The error Reached End of File While Parsing is a compiler error and almost always means that your curly parenthesis are not ending completely or maybe there could be extra parenthesis in the end.