The palindrome check is achieved by first converting the integer to a string, then comparing it to the reversed value of that string. Eg :- 5.palindrome?
Harisankar P S
N/A