class DataType { public static void main(String[] args) { byte b = 1; short s = 234; int i = 56789; long l = 1234567890L; float f = 1.23F; double d = 0.000456; char c = 'A'; boolean bool = true; System.out.println("byte\t" + b); System.out.println("short\t" + s); System.out.println("int \t" + i); System.out.println("long\t" + l); System.out.println("float\t" + f); System.out.println("double\t" + d); System.out.println("char\t" + c); System.out.println("boolean\t" + bool); } }