how to add values to integer type in java code example Example: how to add integers in java int a; int b; a+b = int c