会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Island
博客园
首页
新随笔
联系
管理
2019年2月27日
简析静态代码块,构造代码块(普通代码块),局部代码块,构造函数的执行顺序
摘要: 测试代码: package test; public class Father { static{ System.out.println("父类静态代码块"); } { System.out.println("父类构造代码块"); } public Father(){ System.out.prin
阅读全文
posted @ 2019-02-27 13:43 IslandZzzz
阅读(526)
评论(0)
推荐(0)
编辑