• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to know some things on generics

 
Dinesh Tahiliani
Ranch Hand
Posts: 486
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Diffrence between
1. List<?>
2. List<?super Number>
3. List<? extends Number>
4. List<Number>

Please explain with example Please....
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Sun's Java tutorial on generics, especially the section about wildcards.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic