java multiply function code example Example: how multiply java int x = 12; int y = 13; int z = x * y;