class Parent { T field; public Parent(T field) { this.field = field; } } class Child extends Parent { Child(Integer field) { super(field); } }