Background Image

What is abstract class?

by Amit singh on 14 February, 2018

Abstract class is partial class implementation of interface.

We can not create an instance of an abstract class, and there must be one abstract method or function.

This abstract method must be override in derived class using ‘Override’ keyword, Ex:

public override string methodName()
{

//Your code here

}

Following are the important points to keep in mind:

1)  Abstract class can not be sealed.
2) Abstract method must be public.
3) It can be inherited.
4) It does not support multiple Inheritance.
5) We can define methods which can not be abstract.

If you still need to know more, kindly leave your question as comment, we would be glad to answer you