Question: Create a public static boolean method called isPalindromeA3 that accepts a String as an argument and checks whether it is a palindrome using the following
Create a public static boolean method called isPalindromeA3 that accepts a String as an argument and checks whether it is a palindrome using the following algorithm: Compare the first char to the last char of the string Compare the 2nd char to the 2nd last char Continue until the middle of the string is reached (Java programming)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
