Parameterize the SomeClass and Solution classes as follows:
1. SomeClass must work with types that inherit Number;
2. Solution must work with types that inherit List, which in turn have SomeClass as a type argument.
Introducing generics
- 8
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet