約 677,000 件の結果
リンクを新しいタブで開く
  1. Enumeration types - C# reference | Microsoft Learn

    2025年11月24日 · An enumeration type (or enum type) is a value type defined by a set of named constants of the underlying integral numeric type. To define an enumeration type, use the enum …

  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 …

  3. What Is an Enum in Programming Languages? - ThoughtCo

    2025年5月14日 · An enum is a special type that defines a set of named constants in programming. Enums make code easier to read by using names instead of numbers for values. …

  4. Enumeration (or enum) in C - GeeksforGeeks

    2025年7月29日 · In C, an enumeration (or enum) is a user defined data type that contains a set of named integer constants. It is used to assign meaningful names to integer values, which …

  5. Enum - Complete Guide to Enums in All Programming Languages | enum

    In programming, an enum is a data type used to define a finite set of named values. Examples include order status, permission levels, colors, etc. Compared to using raw numbers or strings, …

  6. Enumeration declaration - cppreference.com

    2024年8月14日 · There are two distinct kinds of enumerations: unscoped enumeration (declared with the enum-keyenum) and scoped enumeration (declared with the enum-keyenum class or …

  7. enum — Support for enumerations — Python 3.14.2 documentation

    1 日前 · Allows Enum members to have attributes without conflicting with member names. The value and name attributes are implemented this way.

  8. Understanding Enums - by George Mulbah

    2025年9月9日 · What Exactly is an Enum? An enum is a specialized data type that groups together a predefined list of constant values under a single label. Unlike raw integers or plain …

  9. Enum Types (The Java™ Tutorials > Learning the Java Language …

    An enum type is a special data type that enables for a variable to be a set of predefined constants. The variable must be equal to one of the values that have been predefined for it. Common …

  10. C enum (Enumeration) - Programiz

    In C programming, an enumeration type (also called enum) is a data type that consists of integral constants. To define enums, the enum keyword is used. By default, const1 is 0, const2 is 1 and …