Advertisement

Abstract

Enum is a user-defined type consisting of a fixed list of named constants. In the example below, the enumeration type is called Color and contains three constants: Red, Green and Blue.

Keywords

Switch Statement Enumeration Type Integral Type Class Member Type Safety 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Mikael Olsson 2015

Authors and Affiliations

  • Mikael Olsson
    • 1
  1. 1.AlandFinland

Personalised recommendations