摘要:
public class Elvis { //第一种静态成员是一个final域 public static final Elvis INSTANCE = new Elvis(); //第二种公有成员是一个静态工厂方法 private static final Elvis INSTANCE2 = ne 阅读全文
posted @ 2017-11-08 12:01
mzxl1987
阅读(162)
评论(0)
推荐(0)
摘要:
public class NutritionFacts { private final int serviceSize; private final int servings; private final int calories; private final int fat; public sta 阅读全文
posted @ 2017-11-08 11:34
mzxl1987
阅读(175)
评论(0)
推荐(0)
摘要:
public interface Service { } ////////////////////////////////////////////////////////////////////////////////////////////////// public interface Provi 阅读全文
posted @ 2017-11-08 11:19
mzxl1987
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号