What is the difference between Abstract and Interface?
Answer Posted / ram praswesh kumar
[1]:-> An abstract class contain abstract method and non-
abstract method, but In interface all method are implictly
abstract.
[2]:-> An abstract base class can have private,public and
protected access specifier but all member in interface are
implicitly public.
[3]:- A class can inherit only single abstract class but
can implement more than one interface.
[4]:- An abstract class can implement interface but
interface cannot extend abstract class even concrete class.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is Implicit conversion in C#?
What is delimiter in c#?
What are value types and reference types?
How many types of constructors are available in c#?
What is the advantage of constructor in c#?
Can class be protected in c#?
What is the use of return in c#?
Why we use dll in c#?
what is a constructor? What is a destructor?
What are managed providers?
What is the difference between continue and break statement?
What is lock in c#?
How big is a 64 bit integer?
What Is An Interface Class?
What is parameters in c#?