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 the xml document structure?
Why data types are important in c#?
Is equal in c#?
How many types of interface are there in c#?
What are the types of serialization?
Is is possible to force garbage collector to run?
What is inline function in c#?
What .exe means?
What is list collection in c#?
What is a method c#?
Why do we use dataset in c#?
How do I format in c#?
What is multicast delegate explain with example?
How do I use the 'using' keyword with multiple objects?
What is dll in c#?