Raw Type Troubles

Java-Raw Type Troubles

Raw Type Troubles A raw type is not type safe. Consider the following statement : The value of t1 inside rgen is obtained, and this value is cast to Integer. The trouble is that rgen contains a String, not an Integer. However, this cannot be detected at compile time because the type of rgen is … Read more…