public class test
{
public static void main(String args[])
{
System.out.println(Integer.toBinaryString(-129));
System.out.println(Integer.toBinaryString(128));
byte a = (byte)128;
byte b = (byte)(-129);
System.out.println(a);
System.out.println(b);
}
}
11111111111111111111111101111111
10000000
-128
127
Im not really clear about the process of this type casting........