---
title: "Discussion on \"Abstract classes vs. interfaces in Java\" | Hashnode"
description: "Discussion on \"Abstract classes vs. interfaces in Java\". Abstract classes and interfaces are plentiful in Java code, and even in the Java Development Kit (JDK) itself. Each code element serves a fundamental purpose:\nInterfaces are a kind of code contract, which must be implemented by a concrete class.\nAbst..."
url: "https://hashnode.com/posts/abstract-classes-vs-interfaces-in-java/62c25c1cc0401b3dcbcfbbe8"
---

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

Discussion

# [Abstract classes vs. interfaces in Java](https://awitiwood03.hashnode.dev/abstract-classes-vs-interfaces-in-java?utm_source=hashnode&utm_medium=feed)

Abstract classes and interfaces are plentiful in Java code, and even in the Java Development Kit (JDK) itself. Each code element serves a fundamental purpose: Interfaces are a kind of code contract, which must be implemented by a concrete class. Abst...

Jul 4, 2022 · 2 min read · awitiwood03.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Awiti Wood](https://hashnode.com/@awitiwood03)

@awitiwood03

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
