Why we use abstract classs
plz tell me
difference Abstract class VS Interface
plzzzzz help me
Printable View
Why we use abstract classs
plz tell me
difference Abstract class VS Interface
plzzzzz help me
An abstract class is one that cannot be instantiated, so it serves only to provide common functionality for derived classes. An interface is similar but a class does not inherit any functionality by implementing an interface. It just guarantees to provide certain functionality itself. When you inherit a class, abstract or not, you automatically inherit all its members with the appropriate access modifiers without any more code, whereas if you implement an interface you have to implement all its members yourself.
http://msdn.microsoft.com/library/de...rfAbstract.aspQuote:
Originally Posted by MSDN