Question
$1.00 Change the signatures of the conflicting methods in generic class
- From Computer-Science: Object-Oriented-Programming
- Closed, but you can still post tutorials
- Due on Mar. 02, 2011
- Asked on Feb 26, 2011 at 4:50:10PM
Q:
Generic parameters are not included in the signature of a method declaration, so you cannot have different methods in the same class that have different generic parameters but otherwise have the same names and the types and number of their parameters. How can you change the signatures of the conflicting methods to get around this restriction?