I am trying to do a simple exercise, of creating a derived class from a base class, but when I try to compile the derived class, I get this error:
cannot resolve symbol
symbol : constructor Animal ()
location: class Animal
public class Dog extends Animal
There is a carrot below "class" in the last statement depicting the error. Anyone know why this is? I copied the code directly from my textbook.
cannot resolve symbol
symbol : constructor Animal ()
location: class Animal
public class Dog extends Animal
There is a carrot below "class" in the last statement depicting the error. Anyone know why this is? I copied the code directly from my textbook.