---
title: "Discussion on \"Day 4b: Interfaces\" | Hashnode"
description: "Discussion on \"Day 4b: Interfaces\". 🔷 What is an Interface?\nAn interface in Java (and many other object-oriented languages) is a contract that defines what a class can do, but not how it does it.\nIt is a reference type that contains only abstract methods (until Java 7), and from Java ..."
url: "https://hashnode.com/posts/day-4b-interfaces/68fe2ee279f3fd2ad3de3895"
---

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

Discussion

# [Day 4b: Interfaces](https://lldwithbaijnath.hashnode.dev/day-4b-interfaces?utm_source=hashnode&utm_medium=feed)

🔷 What is an Interface? An interface in Java (and many other object-oriented languages) is a contract that defines what a class can do, but not how it does it. It is a reference type that contains only abstract methods (until Java 7), and from Java ...

Oct 26, 2025 · 10 min read · lldwithbaijnath.hashnode.dev  
Read the article

-   [#low-level-design](https://hashnode.com/tag/low-level-design)
-   [#lowleveldesign](https://hashnode.com/tag/lowleveldesign)
-   [#oops](https://hashnode.com/tag/oops)
-   [#oops-concepts](https://hashnode.com/tag/oops-concepts)
-   [#oopconcepts](https://hashnode.com/tag/oopconcepts)

## Written by

[Baijnath Mahto](https://hashnode.com/@soul878938)

@soul878938

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

Computer science student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
