Question d’entretien chez Oracle

Write program to reverse a number, palindrome, reverse string.