Question: It must use java to write this program!!!! Exercise 2: Write a program that accepts a String as input from the keyboard and determines whether

It must use java to write this program!!!!

It must use java to write this program!!!! Exercise 2: Write a

Exercise 2: Write a program that accepts a String as input from the keyboard and determines whether or not the String is a palindrome. Ignore whitespace and punctuation (space, tab, single quote, double quote exclamation, comma, question mark, hyphen, semi-colon, colon, period). Ignore case as well. For example, all these inputs are palindromes: A man, a plan, a canal, Panama+' Was it a car "If I had a hi-fi!!" Use the following template: public class Palindrome public static void mainString args) //code here public static boolean isRexecs (String line) //code here ladd other methods if required

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!