Since java byte is signed, so is there any method to change java byte to unsigned
posted 9 years ago
Well, there aren't any unsigned types in Java, so what do you mean?
When you assign an integral type to a larger integral type, Java will sign-extend it. If you then zero-out the higher-order bits, then you have an integer with the value that would have been represented by the smaller type, if it were unsigned.
Is that what you meant? [ February 12, 2007: Message edited by: Peter Chase ]
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.