Hi Friends,
I am trying to define a custom class that should extend Hashmap, I tried this:
public class MyClass extends HashMap<Score,Integer>{
public MyClass(){
//not sure what should be passed here to super
super(Score,Integer);
}
}
I need to initialize it like this:
MyClass map = new MyClass<Score,Integer>();
Can you please help.
Thanks