Palindrome program in Java

A string is a palindrome if the position of each character is the same even if the string is reversed. For example, "NAMAN"