package Capitulo_2;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author felix
 */
public class tipos {
    static public void main(String args[]) {
        byte a = 127;
        short b = 32767;
        int c =  2147483647;
        long d = 9223372036854775807l;
        float e = 3.402823E38f;
        double f = 1.7976931348623E308;
        
        System.out.println("byte   " + (byte)(a +1));
        System.out.println("short  " + (short)(b +1));
        System.out.println("int    " + (int)(c +1));
        System.out.println("long   " + (long)(d +1));

        System.out.println("float  " + (float)(e*1.1));
        System.out.println("double " + (double)(f*1.1));
        
    }
}
