Explain the features of an abstract class in NET.

Explain the features of an abstract class in NET.

An Abstract class is only used for inheritance. This means it acts as a base class for its derived classes. One cannot use it to create objects. When a class is declared as “Abstract”, it can only be inherited and not instantiated. MustInherit Keyword can be used to declare a class as abstract.
Abstract classes can also specify abstract members.
Difference between abstract classes and interfaces.
Following are the differences between abstract and interfaces...
Similarities and difference between Class and structure in .NET
Both Class and Structures can have methods, variables and objects...
Features of Static/Shared classes.
Static classes are used when any change made to an object should not affect the data and functions of the class....
Post your comment