Write a palindrome tester in Java. a palindrome is any word, phrase, or sentence that reads the same forward and backward.
The following are some well-known palindromes.
Kayak
Desserts I stressed
Able was I ere I saw Elba
Create an advanced version of the PalindromeTester Program so that spaces, numbers, and
punctuations are not considered when determining whether a string is a palindrome. The only characters considered are roman letters, and case is ignored. Therefore, the PalindromeTester program will also, recognize the following palindromes:
A man, a plan, a canal, Panama
Madam, I'm Adam
Desserts, I stressed
Able was I, ere I saw Elba
Never odd(5,7) or even(4,6)
The Palindrome Tester will continue to run until the user enters a blank line. It will then print out how many palindromes were found. The following are sample interactions that occur when running the program .