Reification
This lesson explains reifiable types in Java.
We'll cover the following...
We'll cover the following...
1.
What is reification in Java?
0/500
Show Answer
Did you find this helpful?
1.
What is a reifiable type?
0/500
Show Answer
1 / 2
Attempting to cast an object to a generic type e.g. T t = (T)someObj results in a compiler warning and there's a potential of getting a class cast exception at runtime. Similarly, we can cast a generic parameter to another type e.g. String someObj = (String)t without a compile time warning but a ...