摘要:
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; public class Test { public static void main(String[] args) { System.out.println(Human.class.getAnnota... 阅读全文
posted @ 2016-10-31 21:28
Rida
阅读(166)
评论(0)
推荐(0)
摘要:
public class Test { public static void main(String[] args) { // 第一种获取枚举值的方法 Season[] seasions = Season.values(); for (Season season : seasions) { System.out.pr... 阅读全文
posted @ 2016-10-31 21:27
Rida
阅读(114)
评论(0)
推荐(0)
浙公网安备 33010602011771号