public class TestConstructorOverload { public int a = 42; TestConstructorOverload() { // nothing here, so a will assume the default value 42. } TestConstructorOverload(int a) { this.a = a; } }