The Sum in Java