Sollicitatievraag bij Tata Consultancy Services

Write a java program to print if a number x is palindrome