Shrine Software Interview Question

Reverse a number program in java