Question: QUESTION 6 A palindrome is a String that is the same backwards and forwards. For example, civic, level, and racecar. Wite a method that takes
QUESTION
A palindrome is a String that is the same backwards and forwards. For example, "civic", "level", and "racecar". Wite a method that takes a String as a parameter and returns a boolean indcating whether the Stimg is a palindrome or not. It should be case insensitive, ie "ABCcba" should be considered a palindrome.
The method should have the signature:
public static boolean ispalindome String text
For the toolbar, press ALTFPC or ALTFNFMac
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
