2017年9月25日
摘要: class ConstClass{ static { System.out.println("ConstClass init"); } public static final String HELLOWORLD = "hello world";}class NotInitialzation{ pub 阅读全文
posted @ 2017-09-25 23:47 飞奔的菜鸟 阅读(356) 评论(0) 推荐(0)
摘要: class superclass{ static { System.out.println("superclass init"); } public static int value = 123;}class subclass extends superclass{ static { System. 阅读全文
posted @ 2017-09-25 23:03 飞奔的菜鸟 阅读(249) 评论(0) 推荐(0)