Skip to content

Dropping the type argument

java List raw = new ArrayList<String>(); raw.add(42);

The second line compiles with a warning. Why is it allowed at all?