Question: what are the inheritance rules for generic types in java?
Answer: When generic class extends another generic class, the type parameters are passed from sub class to super class same as in the case of constructor chaining where super class constructor is called by sub class constructor by passing required arguments.