NET Centric Computing20805 marksAbstract classes and inheritance
Why do we need abstarct class? Explain with an example.
Why do we need abstarct class? Explain with an example. [5]
An abstract class is a class that is deliberately incomplete. It is declared with the abstract keyword, it cannot be instantiated with new, and it may declare abstract members that carry no body at all. Its purpose is to sit at the top of a family of related classes and state two things at once: ...