Introducing generics

  • 8
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet