---
title: "In what scenarios will you use a abstract class and in what scenarios will you use a  interface?"  
description: "In what scenarios will you use a abstract class and in what scenarios will you use a  interface?"  
author: "Anonymous User"  
published: 2018-03-15  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/23353/in-what-scenarios-will-you-use-a-abstract-class-and-in-what-scenarios-will-you-use-a-interface  
category: "c#"  
tags: ["c#", "oops"]  
reading_time: 1 minute  

---

# In what scenarios will you use a abstract class and in what scenarios will you use a  interface?

This question is very common in Interviews.If we want to increase **reusability** of code in inheritance then abstract classes are good. If we want implement or force some methods across classes must be for **uniformity** you can use a interface. So to increase reusability via inheritance use abstract class as it is nothing but a base class and to force methods use interfaces.

## Answers

### Answer by Anonymous User

This question is very common in Interviews.If we want to increase **reusability** of code in inheritance then abstract classes are good. If we want implement or force some methods across classes must be for **uniformity** you can use a interface. So to increase reusability via inheritance use abstract class as it is nothing but a base class and to force methods use interfaces.


---

Original Source: https://www.mindstick.com/interview/23353/in-what-scenarios-will-you-use-a-abstract-class-and-in-what-scenarios-will-you-use-a-interface

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
