I changed my base class to abstract for a project and now I’m receiving the following error:
Cannot create an instance of the abstract class or interface
Am I receiving the error because naming a new instance of an abstract class is not allowed?
newPlane = new Airplane_Abstract(name, position);
You can’t create an instance of an abstract class. Think of it as an interface that may contain some implementation logic as well. What would you expect to happen if you called an abstract instance method with no definition?