b) A palindromic word is one that reads the same when reversed. For instance peep, deed and dad are palindromes.
i. Create a class called Palindrome.
ii. In your Palindrome class, create a method called reverse() which takes a string argument and return the reverse of the argument as a string. For example, if the argument is rome
then your method should return emor
iii. Create a second method in Palindrome called isPalindrome() which takes a string argument and return true if the argument is a palindrome and false otherwise
Answers
Answered by
0
Answer:
How are you insert picture in a presentation
Similar questions