0

How List<?> and List<Object> is not reifiable what is the exact reason for this. I didn't understand the intent behind that. As the java generics is implemented by type erasure but not by dynamic casts etc.. while compilation, what is the reasoning behind the that, It seems to be confusing to me to grasp the exact concept, what compiler will do exactly inside while generating the byte code.

aliteralmind
  • 18,274
  • 16
  • 66
  • 102
Curious
  • 889
  • 1
  • 9
  • 21

0 Answers0