Is a given array a palindrome?
// Return the value of the statement �array b is a palindrome�
static public bool isPalindrome(char[ ] b) {
int i= 0; int j= b.length;
// Invariant: b is a palindrome iff b[i..j-1] is. In other
// words, b[j..length-1] is the reverse of b[0..i-1]
// {b[i..j-1] has 0 or 1 elements, so it�s a palindrome}