In above code there is no error or fault.Actually , In java every operation is happened implicitly on 32 bit register means in int type. So in above 0x80000000, compiler will treat it as (int)0x80000000.if there be any suffix like L or l then we have to cast it.
thanks, Prashant Kumar Singh
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad: