Wipro interview question

palindrome program what is object what is class