mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-12-01 11:37:15 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
512 B
Markdown
8 lines
512 B
Markdown
# Enums
|
|
|
|
Enums, short for enumerations, are a special data type in Java that represent a group of named constants. They allow you to define a type that can only take on a specific set of predefined values. This makes your code more readable and less prone to errors by restricting the possible values a variable can hold.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Java Enums](https://jenkov.com/tutorials/java/enums.html)
|
|
- [@article@Java Enums](https://www.programiz.com/java-programming/enums) |