---
title: "What is meant by Abstract class?"  
description: "What is meant by Abstract class?"  
author: "Shrikant Mishra"  
published: 2019-08-27  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/23562/what-is-meant-by-abstract-class  
category: "c#"  
tags: ["c#", "asp.net", "programming language"]  
reading_time: 2 minutes  

---

# What is meant by Abstract class?

We can create the Abstract class by using the “Abstract” keyword before the class name. An abstract class can have both “Abstract” methods and “Non-abstract” methods that are a concrete class.

## Abstract method :

The method which has only the declaration and not the implementation is called the abstract method and it has the keyword called “abstract”. Declarations are the ends with a semicolon.

```
Example:

1
public abstract class Manupulation{
2
public abstract void add();//Abstract method declaration
3
Public void subtract(){
4
}
5
}
```

An abstract class may have a Non- abstract method also.

The concrete Subclass which extends the Abstract class should provide the implementation for abstract methods.

## Answers

### Answer by Shrikant Mishra

We can create the Abstract class by using the “Abstract” keyword before the class name. An abstract class can have both “Abstract” methods and “Non-abstract” methods that are a concrete class.

## Abstract method :

The method which has only the declaration and not the implementation is called the abstract method and it has the keyword called “abstract”. Declarations are the ends with a semicolon.

```
Example:

1
public abstract class Manupulation{
2
public abstract void add();//Abstract method declaration
3
Public void subtract(){
4
}
5
}
```

An abstract class may have a Non- abstract method also.

The concrete Subclass which extends the Abstract class should provide the implementation for abstract methods.


---

Original Source: https://www.mindstick.com/interview/23562/what-is-meant-by-abstract-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
