• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generics wildcards

 
maggie karve
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you are adding a String to the collection that can take only Number and its subtypes.
 
maggie karve
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic