一、题目
二、源代码

public class Setup { public int value=300; public test() { value=200; } { value=100; } public void print() { System.out.println(value); } public static void main(String[] args) { test A =new test(); A.print(); } }

public class test { public int value=300; { value=100; } public void print() { System.out.println(value); } public static void main(String[] args) { test A =new test(); A.print(); } }

public class test { public int value=300; public void print() { System.out.println(value); } public static void main(String[] args) { test A =new test(); A.print(); } }