eTranzact Interview Question

Reversing a string in java