"Cannot create an instance of the abstract class or interface" C# error message -
i changed base class abstract
project , i'm receiving following error:
cannot create instance of abstract class or interface
am receiving error because naming new instance of abstract
class not allowed?
newplane = new airplane_abstract(name, position);
you can't create instance of abstract class. think of interface may contain implementation logic well. expect happen if called abstract instance method no definition?
Comments
Post a Comment