yes, I understand, thanks
I just make mistake about the question.
I think the question is:
int i = 9;long l = 99;int k = 0;k = l << i;
If it was this, it will not be compiled.
As what Raghav Sam said
'only the five lowest-order bits of the right-hand operand are used as the shift distance, if the promoted type of the left-hand operand is int.In other
word,only the the result of the right-hand operand MOD 32(the length of int).
I don't know whether you can understand me. Hope it will help you.