public class PF11 { public static void main(String []args) { byte b = 13; System.out.println(b); short s = b; System.out.println(s); int i = s; System.out.println(i); long l = i; System.out.println(l); l = 12345678; System.out.println(l); i = (int)l; System.out.println(i); s = (short)i; System.out.println(s); b =(byte)s; System.out.println(b); byte x = 12; byte y = 27; byte z = (byte)(x+y); System.out.println("----------"); i = 0b0011_1111_1111_1111_1111_1111_1111_1111; System.out.println(i); i = i << 2; System.out.println(i); i = i >>> 2; System.out.println(i); float f = 0.0f; while (f!=20) { System.out.println(f); f = f+1/3f; } } }