---
title: "Discussion on \"Sealed Classes - JDK 17\" | Hashnode"
description: "Discussion on \"Sealed Classes - JDK 17\". JDK 17 has introduced a lot of new features, one of them is Sealed Classes. Let's understand what are sealed classes and why were they introduced.\nWe will not use the Animal -> Dog -> Red Dog -> Multicolor Dog or House -> Door -> Mouse type examples ..."
url: "https://hashnode.com/posts/sealed-classes-jdk-17/665eb94a1ea65a5ad9038dc0"
---

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

Discussion

# [Sealed Classes - JDK 17](https://www.omkarterbhai.com/sealed-classes-jdk-17?utm_source=hashnode&utm_medium=feed)

JDK 17 has introduced a lot of new features, one of them is Sealed Classes. Let's understand what are sealed classes and why were they introduced. We will not use the Animal -> Dog -> Red Dog -> Multicolor Dog or House -> Door -> Mouse type examples ...

Jun 4, 2024 · 4 min read · omkarterbhai.com  
Updated Jun 5, 2024  
Read the article

-   [#java-17](https://hashnode.com/tag/java-17)
-   [#sealed-class](https://hashnode.com/tag/sealed-class)

## Written by

[Omkar Terbhai](https://hashnode.com/@Arbitrager)

@Arbitrager

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

Software Developer at Edgeverve. CS Grad. Pursuing Masters currently.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
