---
title: "Discussion on \"Difference between an abstract class and Interface? And when to use Interface or Abstract Class in the code\" | Hashnode"
description: "Discussion on \"Difference between an abstract class and Interface? And when to use Interface or Abstract Class in the code\". One of the most asked question in an interview"
url: "https://hashnode.com/posts/difference-between-an-abstract-class-and-interface-and-when-to-use-interface-or-abstract-class-in-the-code/643b88aac13ba7434c3eee64"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Difference between an abstract class and Interface? And when to use Interface or Abstract Class in the code](https://hiteshbhavsar.hashnode.dev/difference-between-an-abstract-class-and-interface-and-when-to-use-interface-or-abstract-class-in-the-code?utm_source=hashnode&utm_medium=feed)

One of the most asked question in an interview

Apr 14, 2023 · 6 min read · hiteshbhavsar.hashnode.dev  
Updated Apr 25, 2023  
Read the article

-   [#developer](https://hashnode.com/tag/developer)
-   [#java](https://hashnode.com/tag/java)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#net](https://hashnode.com/tag/net)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Hitesh Bhavsar](https://hashnode.com/@hiteshbhavsar)

@hiteshbhavsar

  
[View profile](https://hashnode.com/@hiteshbhavsar)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
