Domanda di colloquio di Oracle Finance

Write a code to reverse a string and check whether it is palindrome or not