Posts by Eduardo o. • 41 points
1 post
-
4
votes2
answers72
viewsQ: Generic, extend to an X or Y
How do I get my generic class to only receive guys who extend X or Y? Example: class MinhaClasseGenerica<T extends ClasseX ou ClasseY> Sorry if you got a little confused, I’m new yet, I can’t…