Amdocs Interview Question

asked to solve a Java program