"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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

java - netbeans "Please wait - classpath scanning in progress..." -