Question: Java please Give a string of words. Write a method to check if this string is a palindrome in word level. For example, the following
Java please

Give a string of words. Write a method to check if this string is a palindrome in word level. For example, the following string is a palindrome: I am a student a am I. The method signature is: boolean isPalindrome(String str, boolean ignoreCase); ignore case of words if input param ignoreCase is true. Otherwise, do case sensitive comparison
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
