Mega Code Archive

 
Categories / Java Tutorial / Generics
 

Upperlower bound for a wildcard

Establishing an upper bound for a wildcard <? extends superclass> Specifying a lower bound for a wildcard <? super subclass> Here is the syntax for a generic method: <type-param-list> return-type meth-name(param-list)