What is difference between Abstract and Interface | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is difference between Abstract and Interface

OOP

7th May 2019, 7:28 PM
Setshabelo
Setshabelo - avatar
4 Answers
+ 2
Both are contracts to define methods definitions, event definitions and properties. So basically how the outside world should approach the software module A abstract class can have a implementation A interface cannot A abstract class is a class, you only can inherited from one base class A interface is not a class, you can inherit from multiple interfaces. https://www.codeproject.com/Articles/11155/Abstract-Class-versus-Interface
7th May 2019, 8:14 PM
sneeze
sneeze - avatar
+ 1
First I would say No, but i did do a lot ado.net with databases and sql
7th May 2019, 8:24 PM
sneeze
sneeze - avatar
+ 1
Okay because now i am now focused it MVC and. Net Core, which are the latest technologies
7th May 2019, 8:26 PM
Setshabelo
Setshabelo - avatar
0
Thanks bro, Are you familiar with Entity Framework?
7th May 2019, 8:20 PM
Setshabelo
Setshabelo - avatar