I want to create a square that is an extension of P> your class Note that there is no type parameter in TreeMap Is able to map to any integer no integer
class Try to declare as MyTreeMap TreeMap & lt; Integer, Integer & gt; { MyTreeMap , because we know that we only want to deal with integer s .
No comments:
Post a Comment