void (long l) { byte b; int i; char ch; i = (int) 0.0f; System.out.println("i = " + i); ch = (char) 0.0; System.out.println("ch = " + ch); i = (int) 0.0; System.out.println("i = " + i); i = (int) 0L; System.out.println("i = " + i); b = (<warning descr="Cast from 'long' to 'byte' may result in loss of precision">byte</warning>) l; System.out.println("b = " + b); l = (long) 0.0; System.out.println("l = " + l); l = (long) 0.0f; System.out.println("l = " + l); final double d = (double)0.0f; System.out.println("d = " + d); final float f = (float)0.0; System.out.println("f = " + f); }