int i = null; // compilation error: incompatible types, required: int, found: if (i == null) { // compilation error: incomparable types: int and i = 1; }