2080 8

BIT351 ยท 2080 ยท 5 marks

Why do we need abstarct class? Explain with an example.

Why do we need abstarct class? Explain with an example. [5]

NET Centric ComputingChapter 1: Core .NET Framework FundamentalsAbstract classes and inheritance

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: ...