Question: Write a recursive method isReverse that accepts two strings as a parameter and returns true if the two strings contain the same sequence of characters

 Write a recursive method isReverse that accepts two strings as a

Write a recursive method isReverse that accepts two strings as a parameter and returns true if the two strings contain the same sequence of characters as each other but in the reverse order. For example, the string "hello" backwards is "olleh", so a call of isReverse("Java", "avaJ") would return true and isReverse( 2. 11 1n "Java, ava) would return false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!