All pastes #356758 Raw Edit

ShadeS

public java v1 · immutable
·published 2007-02-15 07:34 UTC
rendered paste body
public boolean isPalindrome(char[] array, int startIndex, int endIndex){				if (array[startIndex]==array[endIndex] && endIndex == 1)			return true;				if (array[startIndex]!=array[endIndex] || endIndex <= 1){			System.out.println("false.!!.");			return false;		}		else{						return isPalindrome(array, startIndex+1, endIndex-1);						}	} 	 }