I have two packages and both packages have Excel classes and also Invoices and Packing classes, I would like to create one Excel where i could extend from ,each excel need to know about Invoice and Packing Lists
public class Excel {
   protected final List<? extends T> invoices;
   protected final List<? extends T> packing;
   public Excel(List<? extends T> invoices, List<? extends T> packing) {
      this.invoices = invoices;
      this.packing = packing;
   }
}
I have extended that Excel in another Excel class and in the constructor super(invoices,packing) it says required type List ? extends T provided List Invoices List Packing
public Excel(List<Invoice> invoices, List<PackingList> packingLists) {
    super(invoices,packingLists);
 
     
     
    