Write a recursive method that takes a string as argument


Please write a JAVA program to solve the subsequent problem.

Program: Write a recursive method that takes a string as argument and returns the reverse of the string (given the argument "Horse" your method should return the string "esroH").

Write a program that tests if an input string is a palindrome.

Your program should take as input a line containing a single string and return true if the string is a palindrome and false if it is not.

Note a palindrome is a word that is spelled the same way forward and backwards.

Prepare this program in java programming

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a recursive method that takes a string as argument
Reference No:- TGS0947073

Expected delivery within 24 Hours