Unifytech interview question

Java program related to palindrome