It successfully compiled but execution is not possible.
Because compiled time it only check the syntax error not the logical error.