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.
} } here i am getting compiler errors as "type card does not take parameters for each line in the main method". should i create constructor for card? if so how can i create it for unbounded wildcard parameterized type?
Card pair = new Card<?,?>; This line says that the array pair can take objects of any type . Since we have ? ? [2 ?] this implies that the objects must have a constructor that can take 2 arguments.
SCJP, SCWCD, SCBCD
Joined: Sep 07, 2008
i tried with constructor it works.
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