Saved Bookmarks
| 1. |
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 romethen your method should return emoriii. 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 |
|
Answer» How are you INSERT PICTURE in a PRESENTATION |
|