Deloitte interview question

Code a simple string, reverse string and palindrome. Interviewer will ask OOP questions