MobiTV Interview Question

Write Java function to reverse a string