I'm at a dead end and I need fresh eyes, I'm not sure why this code does this.
String string = new String(new char[] {(char) 0x01, (char) 0x02, ... ,(char) 0xFC});
The output is all that should be up to the last number (0xFC), it returns -4, I know its hexadecimal value, but if I do the same with 252 decimal value, it also gives me a negative result. Hope this is just a solution and I just don't see it.
Thanks in advance.
java arrays
Cody Keasberry Apr 6 '12 at 20:30 2012-04-06 20:30
source share