1. Enum type can't be extended.
2. Enum's constants must be declared on the first line of the enum type declaration.
3, if there are more than constant declaration, the constant declaration must be ended with semi-colon;
3. Enum type's constructor must not be declared as public and protected
4. Enum type can have public instance variable
47万+

被折叠的 条评论
为什么被折叠?



