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


Please Help Members By Posting Answers For Below Questions

What is Implicit conversion in C#?

574


What is delimiter in c#?

491


What are value types and reference types?

558


How many types of constructors are available in c#?

554


What is the advantage of constructor in c#?

502






Can class be protected in c#?

529


What is the use of return in c#?

494


Why we use dll in c#?

553


what is a constructor? What is a destructor?

530


What are managed providers?

551


What is the difference between continue and break statement?

531


What is lock in c#?

490


How big is a 64 bit integer?

513


What Is An Interface Class?

568


What is parameters in c#?

508