In the following code, catch the NumberFormatException that is thrown when the argument of Integer.parseInt does not represent a number.

If either of the strings does not represent a number, use zero instead when forming the sum.