i have used the following statement byte[3]=(byte)0x80 0x80 is an hex value of 128 and i have also tried this statement byte[3]=(byte) 128
in the first case, while printing i am getting the output as -128 in the second case, output is -1
Now how can i solve this. Is there any other way to store 10000000 into a byte array