---
title: "Discussion on \"Enums in Java\" | Hashnode"
description: "Discussion on \"Enums in Java\". Enums in java are a special type of data type that lets a variable only have a set of predefined constants. The most common example are days in a week ( MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY ) or cards in a standard deck, seasons etc..."
url: "https://hashnode.com/posts/enums-in-java/62ccca6c0ba13ab923f69659"
---

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

Discussion

# [Enums in Java](https://prabhdeep.hashnode.dev/enums-in-java?utm_source=hashnode&utm_medium=feed)

Enums in java are a special type of data type that lets a variable only have a set of predefined constants. The most common example are days in a week ( MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY ) or cards in a standard deck, seasons etc...

Jul 12, 2022 · 2 min read · prabhdeep.hashnode.dev  
Read the article

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

## Written by

[Prabhdeep Singh Basra](https://hashnode.com/@Prabs09)

@Prabs09

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
