Broadridge Interview Question

reverse a number code in java