0 votes 0 votes class Value { 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); } } LavTheRawkstar asked Jun 29, 2016 LavTheRawkstar 386 views answer comment Share Follow See 1 comment See all 1 1 comment reply LavTheRawkstar commented Jun 29, 2016 reply Follow Share 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. 0 votes 0 votes Please log in or register to add a comment.