Head first java chapter 10 数字与静态

 

 

 

注意,先输出静态定义,然后运行main,输出“in main",然后statictests继承自staticsuper,所以先实现staticsuper,然后再实现statictests。

posted @ 2017-08-07 19:54  羡鱼06  阅读(175)  评论(0编辑  收藏  举报