package com.test; class Clothing{ public Clothing(String s) { } } public class TShirt extends Clothing { public TShirt(String s) { super(s); // TODO Auto-generated constructor stub } }