public class TestConstructLoad { public static void main(String[] args) { new ConstructorLoad(1); } } class ConstructorLoad { //1. All data fields are initialized to default values (0, false, null) private int a; private String b = "xxxxxxxxx"; //2. Execute all domain initialization statements and initialization blocks in the order they appear in the class { System. out. println ("initialization block a="+a+", b="+b); a = 10; } //3. If the first line of the constructor calls the second constructor, execute the second constructor body public ConstructorLoad() { System. out. println ("ConstructorLoad has no parameters"); } //4. The body executing this constructor public ConstructorLoad(int a) { this(); System. out. println ("ConstructorLoad has parameters, a="+this. a+", b="+this. b); this.a = 20; } }