public class isPalindrome
{
public static boolean status = true;
static String word;
static int strLength = word.length();
public void setword(String word)
{
isPalindrome.word = word;
}
public String[] getWord()
{
String[] word = new String[] {"Nothign", "super"};
return word;
}
public static void main(String[] args)
{
if (status == false )
{
System.out.println("You didn't entered a Palindrome");
}
else
{
System.out.println("You entered a Palindrome" + get.word);
}
}
public static void isValidEmpNum(String[] array, String s)
{
if(s.charAt(0) == s.charAt(strLength - 1))
status = true;
else
status = false;
return;
}
}