Super class has been coded and the sub class has been extended to inherit from the super class