1 2 3 4 5 6 7 8 9 10 11 12 13
package test2; public class AddCatchForConstructor { int i; public AddCatchForConstructor() { this(3); i++; } public AddCatchForConstructor(int k) { i = k; } }