An abstract class is inherited, an Interface also
inherited(multiple inheritance), How it differences.

Answer Posted / ashish p

Following are the differences between abstract and
interfaces :-
1) Abstract classes can have concrete methods while
interfaces have no methods implemented.
2) Interfaces do not come in inheriting chain, while
abstract classes come in inheritance

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a struct inherit from an interface in c#?

517


Is as operator in c#?

473


Define an escape sequence, name few strings in escape sequence?

481


Explain the difference between a struct and a class?

508


What is the max value of int32 in c#?

498






What does xpath return?

541


What is unsigned int?

530


What is IL / CIL / MSIL?

667


Name some properties of array.

488


If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

569


What is ilist c#?

509


Explain about finalize method?

553


What are the generation of Garbage Collection in C# .NET ?

562


What does void mean unity?

504


What are the drawbacks of extending an interface as opposed to extending a class?

473