I am trying to right shift an integer by 32 but I the result is the same number. (e.g. 5 >> 32 is 5.)
If I try to do same operation on Byte and Short it works. For example, "(byte)5 >> 8" is 0.
What is wrong with Integer?
from Newest questions tagged java - Stack Overflow http://ift.tt/1UZrNdJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire