JavaCodeExample Java example Write a method to display max of two numbers and computes the sum of the digits in an integer