public class Přetypování
{
    public static void převod()
    {
        char   c = 'A', ci, cd;
        double dp = 33.3, dm = -33.3, di, dc;
        int    ip = 64, im = -64, ic, id;
        ci = (char) ip;
        cd = (char) dp;
        ic = c;
        dc = c;
        ci = (char) im;
        id = ci;
        cd = (char) dm;
        di = cd;
    }
}

