Don't understand to ask, I am familiar with C language, contact Java recently, about the unsigned shift operator & gt;> , as shown in the figure below, do not understand at the time of displacement and force data type conversion what's the problem? What principle? Should be how to modify, avoid this problem? Please teach a great god,
A mystery, so finally have to supplement with: short=(short) iii ((CRC & gt;> 8) & amp; 0 XFF); To get the ideal result,