Hi,
I know that I can create something like this
List<?> myList = new ArrayList<Object>();
And now I want to use this in a Map
Map<String, List<?>> myMap = new HashMap<String, List<Object>>();
But the compiler complains about "Type mismatch: Cannot convert..."
Allowed is this
Map<String, List<?>> myMap = new HashMap<String, List<?>>();
Can someone explain this to me?