Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Why 1L?

For int type integer shift a >;; & gtB, the system first uses B as the remainder of 32, and the result is a truly shifted number.

For integer shift of type long, the same as above,

Why 1L?

For int type integer shift a >;; & gtB, the system first uses B as the remainder of 32, and the result is a truly shifted number.

For integer shift of type long, the same as above,

Why 1L?

For int type integer shift a >;; & gtB, the system first uses B as the remainder of 32, and the result is a truly shifted number.

For integer shift of type long, the same as above, but the remainder is 64.

Applicable to 1L

For 1

1L:0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 000 1

1L & lt; & lt32:0000? 0000? 0000? 0000? 0000? 0000? 0000? 000 1? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 0000? =? 2^32? =? 4294967296

1:? 0000? 0000? 0000? 0000? 0000? 0000? 0000? 000 1

1 & lt; & lt32:0000? 0000? 0000? 0000? 0000? 0000? 0000? 000 1? =? 1