Parameterize the Solution class so that it can work with all classes that inherit HashMap.
The getMap method must return an object of the map field's type.
Simple generics
- 8
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet