4 ms·
Yes, exactly. T always becomes Object in runtime, type information is physically gone.
by V-2 4y ago
Yes, exactly. T always becomes Object in runtime, type information is physically gone.
- kaba0 4y agoNot quite true, one pedantic point of mine is that it may be a concrete class if that was marked as T’s superclass, the other is less nitpicky, generic information is actually available at the component itself, so plenty of tools can use it in certain circumstances.