Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wild Card notation

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why AnimalHolder<?> any=new AnimalHolder<>(); works here ? neither that is an Animal nor subclass of it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic