Capgemini Interview Question

Write a code on java to check whether no is pallindrome or not