this question has answer here:
what difference between class<?>
, class<object>
in java? afaik java erasure changes <?>
it's upper bound, in case object
anyway. for?
the difference collection<string>
not subtype of collection<object>
, collection<?>
usable in place argument collection can put
Comments
Post a Comment