21. ENUMS

xiaoxiao2021-04-05  224

An Enum Type Is A Distinct Type That Declares A Set of Named Constants.

[EXAMPLE: THE EXAMPLE

ENUM Color

{

RED,

Green,

Blue

}

Declares an enum type named color with members red, green, and blue. End

EXAMPLE]

转载请注明原文地址:https://www.9cbs.com/read-131996.html

New Post(0)