摘要:
public enum Elvis { INSTANCE; private final String[] favoriteSongs = { "Hound Dog", "Heartbreak Hotel" }; public void printFavorites() { System.out.println(Arrays.toString(favoriteSongs)); } } 阅读全文
posted @ 2012-08-25 17:47 钟悍 阅读(155) 评论(0) 推荐(0) 编辑