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 the xml document structure?

477


Why data types are important in c#?

482


Is equal in c#?

513


How many types of interface are there in c#?

477


What are the types of serialization?

513






Is is possible to force garbage collector to run?

528


What is inline function in c#?

513


What .exe means?

509


What is list collection in c#?

525


What is a method c#?

478


Why do we use dataset in c#?

493


How do I format in c#?

501


What is multicast delegate explain with example?

462


How do I use the 'using' keyword with multiple objects?

511


What is dll in c#?

510