Question: Hope you give me a detailed answer. Use java 3. Create a Java class called MyString that has two methods with the following signatures: public
3. Create a Java class called MyString that has two methods with the following signatures: public static String reverse (String s) public static boolean isPalindrome (String s) The reverse method reverses a string. Use reverse to implement isPalindrome. A string is palindrome if the reverse is equal to the original string Write a program that asks the user for a string and print sif the string is a palindrome or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
