import java.io.*;

// Tipos de datos primitivos en Java y clase string
public class datos {

public static void main(String[] args){
byte a =127;// 8 bits
short b = 32767;//16 bits
int c = 2147483647;//32 bits
long d = 1;//64 bits
float e = 3.4e+38f;//32 bits
double f = 1.8e+307;// 64 bits
char g ='A';
boolean h;
String i = "Hola Java";//No es un dato primitivo. Clase predefinida string
a++;
b++;
c++;
h = true;

System.out.println(a);//-128 a 127
System.out.println(b);//-32768 a 32767
System.out.println(c);//2147483647 a -2147483648
System.out.println(d);//-2^63 a 2^63-1
System.out.println(e*10);//3.4e+38 a 1.4e-45 valor absoluto
System.out.println(f*10);//1.8e+308 a 4.9e-324 valor absoluto
System.out.println(g);
System.out.println(h);
System.out.println(!h);
System.out.println(i);

}

}