When you add two bytes together you get an int. Why? To simplify the JVM (Java Virtual Machine), and reduce the number of bits needed for an op code, the JVM does not support 8-bit and 16-bit signed and unsigned operations. So bytes, chars, short are promoted to int before doing arithmetic on them.
This page is posted
Optional Replicator mirror
|no blog for this page||Canadian
Your face IP:[188.8.131.52]
You are visitor number|