public static void main(String  s )
int i = 255;
byte b=(byte)i ;
char c = (char)b;
System.out.println("int value of char : " + (int) c);
what i think that if we keep on counting the values in the way
128 integer value stands for -128 byte
129 integer value stands for -127 byte ..
but in this way it will take 15 minutes to solve if we will calculate like this.
Please tell how to solve quickly with a trick.
Thank you @