simple I value add in java program