About 149,000 results
Open links in new tab
  1. Enumeration (Java Platform SE 8 ) - Oracle

    An object that implements the Enumeration interface generates a series of elements, one at a time. Successive calls to the nextElement method return successive elements of the series.

  2. Java Enums - W3Schools

    An enum is a special "class" that represents a group of constants (unchangeable variables, like final variables). To create an enum, use the enum keyword (instead of class or interface), and separate …

  3. enum in Java - GeeksforGeeks

    Oct 9, 2025 · In Java, enumerations (enums) are a special type used to define a group of named constants. Enums help in readability, maintainability, and type safety in programs by assigning …

  4. A Guide to Java Enums - Baeldung

    Jan 5, 2024 · A quick and practical guide to the use of the Java Enum implementation, what it is, what problems it solves and how it can be used to implement commonly used design patterns.

  5. Java enum & enum Class (With Examples) - Programiz

    Java enum is a set of constant values. In this tutorial, we will learn about enums and enum class in Java. We will also learn about different methods of Java enum.

  6. Mastering Enumerations in Java - javaspring.net

    Nov 12, 2025 · This blog post should give you a comprehensive understanding of how to use enumerations in Java. By following the examples and best practices, you can start using enums …

  7. Java Enum: Java Enumeration Tutorial With Examples - Software …

    Apr 1, 2025 · In this tutorial, we have discussed the enumerations, enumerators, Java Enum class and the enum keyword with appropriate examples and explanations wherever required.

  8. Enumeration Interface In Java - GeeksforGeeks

    Nov 19, 2025 · The Enumeration interface in Java is one of the legacy interfaces used to iterate over elements of collections such as Stack, Vector and HashTable. It was introduced in JDK 1.0 and is …

  9. Enumeration (Enum) in Java - W3Schools

    In this chapter, you will learn about what is enumeration and how it is used within Java programming language to do different tasks.

  10. Enum (Java SE 21 & JDK 21) - Oracle

    This is the common base class of all Java language enumeration classes. More information about enums, including descriptions of the implicitly declared methods synthesized by the compiler, can be …