Abstract interface

  • Thread starter Thread starter Guest
  • Start date Start date
What is the difference between an Abstract Class and an interface in .Net?

The difference between an abstract class is that an abstract class can
contain implementation, and a interface can't. Further derived
classes, can inherit multiple interfaces, but only one class.
 
Interfaces can't contain any executable code, just definitions (interfaces).
Abstract classes can contain both.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top