int x = 8L; // Error: no implicit conversion from long to int int y = (int)8L; // OK: explicit conversion to int