Wyo Java Ch19Proj3

Write a test class named Ch19Proj3 that contains a static method named checkPalindrome that returns a boolean value to indicate whether or not its String parameter is a palindrome or not. You must use one or more Stack and/or Queue in this program. But write the method as to be as efficient as possible. The test class must display the word true or false for each inputted string. Use Scanner to allow the user to input strings until he/she types "exit" to quit. Spaces and characters (i.e. any non-letters) should be ignored and should not affect the String's chances of being a palindrome or not. For example, "race car" and "racecar!" are considered to be palindromes. Uppercase and lowercase versions of the same letter should be treated as being equivalent. For example, "Racecar" and "raceCar" are considered to be palindromes.

Your program must follow the class Coding Standards. Save all of the files associated with this assignment to a folder named Ch19Proj3 in the appropriate network folder.

Preconditions:

  • The inputted string will contain 1 or more characters.

You must hand in the following on separate pages stapled in this specified order:

  1. The source code for the Ch19Proj3 class.
  2. The printscreen of your console window output with at least 6 test cases (some palindromes and some that are not palindromes.) Be sure to print black text on white background.