A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Programmer Certification (SCJP/OCPJP)
This is wrong right?
Joined: Mar 04, 2006
Aug 22, 2006 23:45:00
The dave Allen notes has a bullet point in the generics section:
<T super Dog> not <? super Dog>
But Ive only been able to compile ? in conjunction with super. so T with super doesnt work. true?
Joined: Jul 04, 2006
Aug 23, 2006 12:43:00
Please give your code snippent so that we can know what exactly you are trying.
I agree. Here's the link:
subject: This is wrong right?
Clarification about ? super Object
Generic method signature help
Why invalid syntax?
<? super Integer>
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015