Explain Abstract Class.
Abstract Class
- Classes can be declared as abstract by using the keyword abstract.
- Abstract classes are one of the essential behaviors provided by. NET.
- If you like to take classes that only represent base classes, and don’t want anyone to create objects of these class types, use an abstract class to implement such functionality.
- Objects of this class can be instantiated but can make derivations of this.
- The derived class should implement the abstract class members.
Comments
Post a Comment