摘要: 1.无参数 public enum TYPE { INSERT, UPDATE, DELETE; } 2.带参数: public enum Topics { OK(0, "成功"), xx(100, "错误A"), yyy(200, "错误B"); Topics(int number, String 阅读全文
posted @ 2020-04-08 17:11 lshan 阅读(109) 评论(0) 推荐(0) 编辑