Java Program to determine whether a given string is palindrome
In this program, we need to check whether a given string is palindrome or not.
A string is said to be palindrome if it is the same from both the ends. For e.g. above string is a palindrome because if we try to read it from backward, it is same as forward. One of the approach to check this is iterate through the string till middle of string and compare a character from back and forth.
Given string is palindrome