This is still wrong and I can't go to next course


#1

What's wrong with this? Can anyone help me? Because this is still wrong and I cant go to next course

public static void main(String[] args) {
  Dog spike = new Dog(5);
  spike.bark();
  spike.run(40);
  int spikeAge = spike.getAge();
  System.out.println(spikeAge);
  spike.checkStatus();
  
}

}


12. Inheritance, extends (71%), code error?
#2

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