摘要:
package cn.itcast.day1;public class Enum { public static void main(String[] args) { Weekday1 weekday = Weekday1.SAT; System.out.println(weekday.ne... 阅读全文
摘要:
package cn.itcast.day1;public abstract class Weekday1 { private Weekday1(){} public static final Weekday1 SUN = new Weekday1(){ @Override public Wee... 阅读全文
摘要:
package cn.itcast.day1;public class Weekday0 { private Weekday0(){} public static final Weekday0 SUN = new Weekday0(); public static final Weekday0 MO... 阅读全文