This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Wild Card notation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Wild Card notation" Watch "Wild Card notation" New topic
Author

Wild Card notation

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305



Why AnimalHolder<?> any=new AnimalHolder<>(); works here ? neither that is an Animal nor subclass of it.


My one regret in life is that I am not someone else.
- Woody Allen
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Wild Card notation
 
It's not a secret anymore!