Part 4 - What is the difference between Abstract class and Interface?
An abstract class doesn't provide full abstraction but an interface does provide full abstraction; i.e. both a declaration and a definition is given in an abstract class but not so in an interface.
Using abstract class, we cannot achieve multiple inheritance but using an Interface we can achieve multiple inheritance.
We can not use any access modifier i.e. public, private, protected, internal etc. because within an interface by default everything is public.
Please keep watching my video series of C# interview questions. We will cover all C# Interview Questions in this Videos Series to help developers (Beginners to Expert).
Please ask in comments if you have any query. We will get back to you as soon as possible. Thank you.
Related Search:
what is abstract class in c#
what is abstract class in c# in hindi
what is the use of abstract class in c#
what is the difference between interface and abstract class in c#
abstract class in c# with real time example
abstract class and interface in c# with real time example
when to use abstract class and interface in c# with real time example
when to use abstract class and interface in c#
when to use abstract class and interface in c# with real time example
when to use abstract class and interface
when to use abstract class and interface stack overflow
when we use abstract class and interface in c#
abstract class c#
abstract class and method in c#
abstract class and interface in c#
abstract class in c# with real time example
abstract class in c# with real time example in hindi
difference between abstract class and interface in c# in hindi
when use abstract class and interface in c#
when to use abstract class and interface in c# with real time example
when use interface and abstract class in which scenario in c#
when to use interface and when to use abstract class
when to use abstract class and interface in c# with real time example
when to use abstract class over interface
when to use abstract class and interface
when to use abstract class in c#
when to use abstract class
when to use abstract class vs interface c#
abstract class in c# interview questions
abstract class vs interface c#
abstract class vs interface in c# in hindi
when to use interface in c#
when to use interface
when to use interface over abstract class
when to use interface over abstract class in c#
when to use interface or abstract class
when to use interface vs abstract class c#
when to use interface vs class
when to use interface and when abstract class
when use interface and abstract class in which scenario in c#
c# when to use interface vs abstract class
when to use interface and when abstract class
c# when to use interface and abstract class
c# when to use interface
c# when to use abstract class
c# abstract vs virtual vs interface
c# abstract vs interface
c# abstract method
c# abstraction
c# abstract class example
unity c# abstract class
c# abstract class example
c# interface
c# interview questions and answers
c# interfaces explained
c# interview questions and answers for experienced
c# interview questions
c# interview questions and answers for 5 years experienced
c# interview questions and answers
c# interview questions and answers for experienced
c# interview questions and answers for freshers
c# interview questions and answers for 3 years experienced
c# interview questions and answers for experienced with examples
c# interview questions and answers for experienced in hindi
c# interview questions and answers for 4 years experience
c# interview questions and answers for 1 years experience
c# interview questions and answers for 5 years experience
c# interview questions and answers for 6 years experience
c# interview questions and answers for 2 years experience
c# interview questions and answers for beginners
c# interview questions for 10 years experience
abstract and virtual method in c#
abstract vs interface c#
abstract videos
abstract vs virtual c#
abstract vs virtual class
abstract vs virtual method c#
abstract vs virtual vs interface
abstract vs virtual vs interface
c# interview questions and answers for 7 years experience
c# interview questions and answers for experienced with examples
asp.net c# interview questions and answers for experienced
mvc interview questions and answers for experienced c#
c# abstract vs virtual vs interface
abstract class vs concrete class
abstract class and concrete class
difference between abstract class and concrete class in c#
difference between abstract class and interface
abstract class vs concrete class
abstract class and concrete class