Apexon Interview Question

String reversal program in java