Question: JAVA CODE 2. Write a Java program that accepts a word from the user and checks if that word is a palindrome. If the word
JAVA CODE
2. Write a Java program that accepts a word from the user and checks if that word is a palindrome. If the word is a palindrome, notify the user and if not, tell them that it is not. - A palindrome is a word that reads the same both forwards and backwards. Eg. racecar, madam
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
