enumeration classes
枚举类
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Names of named elements (profile, stereotypes, classes, attributes, enumerations, and enumeration literals).
命名元素的名称(概要文件,原型,类,属性,列举,以及列举文字)。
youdao
Enumeration declarations are allowed only in the main program block, inside classes, inside packages, or in functions.
只允许在主程序块、类、包或函数内部使用枚举声明。
应用推荐
模块上移
模块下移
不移动