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


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


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

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