Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

This is wrong right?

 
Amit Batra
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give your code snippent so that we can know what exactly you are trying.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic