Walmart Interview Question

2. Java string and palindrome program