如题 实体类和枚举怎么选择 枚举有什么好处啊如题 实体类和枚举怎么选择 枚举有什么好处啊 。
http://blog.csdn.net/fabuler/article/details/18700467
枚举类不能继承字其他类,只能实现接口,实体类可以集成自其他类,并且也可以实现接口