摘要: 演示1: 1 class Base{ 2 static int a=1; 3 static { 4 System.out.println("我是int:Base"); 5 } 6 } 7 class Sub extends Base{ 8 static int b=2; 9 static { 10 阅读全文
posted @ 2020-08-20 18:40 Kc_blog 阅读(188) 评论(0) 推荐(1)