【资料题】(6-6)请阅读程序 写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10;

大学网课 已帮助 人

【资料题】(6-6)请阅读程序,写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10; } static { x=x+5; } { y=y+10; } static { x=x+5; } public Test() {//构造方法 x=x+5; } { System.out.println(x*y); } } public class Demo11 { public static void main(String[] args) { Test t1=new Test(); Test t2=new Test(); } }

【资料题】(6-6)请阅读程序 写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10;

热搜:我国的四大名著是什么请分别写出作者