I mean
public class Generic<T> extends T{
}
if I have two classes, in my case it is Response and Request, and several classes with own fields, i want extend response or request depending on the situation or vice versa extend classes. But i do not want to create another classes
Aucun commentaire:
Enregistrer un commentaire