2017年9月19日

java初始化块执行顺序

摘要: java中初始化块的执行顺序在构造器之前,多个初始化块之间定义在前的先执行。如下: 结果如下: The first initial blockThe second initial blockThe third initial blockConstructor of this class withou 阅读全文

posted @ 2017-09-19 21:50 Deltadeblog 阅读(308) 评论(0) 推荐(0) 编辑

导航