<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.>
Everytime I run my code, I keep getting an error saying “Did you type the command correctly?” for “System.out.println(spikeAge);” in the main class. Is this a problem with the website, or am I doing something wrong?
```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;
}
public static void main(String[] args) {
Dog spike = new Dog(4);
int spikeAge = spike.getAge();
System.out.println(spikeAge);
spike.bark();
spike.run(24);
}
}
<do not remove the three backticks above>