posted 13 years ago
I have following code:
Compiling the above code gives following error:
Test2.java:19: process(java.util.Map<java.lang.String,java.util.HashMap<java.lang.Long,? extends core.Fruit>>) in core.Test2 cannot be applied to (java.util.Map<java.lang.String,java.util.HashMap<java.lang.Long,core.Fruit>>)
process(buildingblocksmap);
^
1 error
Can anybody please explain the reason of this error?