A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: This is wrong right?
Generic method signature help
Why invalid syntax?
<? super Integer>
Clarification about ? super Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014