化解一个误区,其实switch和enum是能够很方便配合使用的

enum switch case label must be the unqualified name of an enumeration constant 或 错误: 枚举 switchcase 标签必须为枚举常量的非限定名称case ColorType.GREEN:java     在我们Android开发中,有一个变量可能会被不少界面引用,因此咱们就会在它前面增长static final p
相关文章
相关标签/搜索