int def java code example Example: int java boolean result = true; char capitalC = 'C'; byte b = 100; short s = 10000; int i = 100000;