You can use type parameter instead of wild card. Multiple bounds are allowed with type parameter. There are two kinds of bounds lower bounds and upper bounds with wildcards, whereas there is no such thing as lower bound in the type parameter.
Joined: Jun 07, 2007
Hi Chandra !
Thanks for quick reply.
Yes - I know that I can use type parameters instead. I just wanted to know why Sun decided not to allow to have multiple bounds on wildcards. There is a good explanation about why there isn't a lower bound on type parameters in Angelika Langers FAQ, so I was hoping to get a similar explanation