*1.
Write a method, which determines if an entered string is a palindrome. True palindromes are strings of characters that read the same backward as forward. This does mean all characters, including spaces and punctuations. Examples of palindromes are:
MADAM, RACECAR, BOB, HANNAH, HELLOOLLEH
In writing method isPalindrome, you may call method getReverse, which is explained below.
// precondition:s is a String variable with one or more characters.
// postcondition:getReverse returns s in reverse order.
public static String getRevers(String s)
Complete method isPalindrome below.
// precondition:s is a String variable with one or more characters.
// postcondition:isPalindrome returns true, if s is a palindrome and false otherwise.
public static boolean isPalindrome(String s)
{
}