Posts by user61402 • 11 points
1 post
-
1
votes1
answer67
viewsQ: Method with Generics in inherited type
How do I use two types in the method Generics, to sum only the areas of the classes Quadrado and Retangulo. I tried a method like this: public static double soma(Forma <? extends Quadrado>…