class Magenta { static byte a = (byte)127, b = (byte)128, c = (byte)255, d = (byte)256; public static void main(String args[]) { System.out.print(a + " " + b + " " + c + " " + d); }}
How to type cast to byte if the value exceeds byte range? Please explain in detail