An abstract class is inherited, an Interface also
inherited(multiple inheritance), How it differences.
Answer Posted / priya arun
abstract class is just like a normal class ,but we can't
instantiate an abstract class.
One class can inherit one abstract class.
but interface is just define the signature..it doesnt have
any body.So the methods declared in the interface must
implement in the derived class.
Once we defined the interface any number of class can
implement it...
a class can implement more than one interface also.Through
this also we can achieve multiple inheritance in .net.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between // comments, /* */ comments and /// comments?
What is the difference between interface and functional interface?
What is difference between association, aggregation and inheritance relationships?
What are the types of class in c#?
What is the use of 0 in c#?
What does the dispose method do with the connection object?
Is overriding of a function possible in the same class?
What are the 2 broad classifications of data types available in c#?
Can we make a Static Constructor Parameterized? Give Reason with your answer
What is an enumerator in c#?
Explain about CTS?
What are immutable types in c#?
Explain different properties of object oriented systems.
How many types of namespaces available in version4?
Why we use dll in c#?