Skip to content

What survives to runtime

In Java, why does this fail to compile?

java if (obj instanceof List<String>) { ... }