KPMG interview question

check for palindrome.(technical interview) explain java bean class explain RARP.