Question: a- Write a complete Java program that includes a recursive java method sym, that takes the arguments (String s, start integer, final integer), where start

a- Write a complete Java program that includes a recursive java method sym, that takes the arguments (String s, start integer, final integer), where start and final integers are the boundaries of the substring that you will check. This method tests whether the selected substring is symmetric or not. The method should return either true or false accordingly (you can include in your code any string and any two initial/final values). For example, the substring abba is symmetric. b- Run the above code for the strings radar and radars such that both results will return true (Making the needed tuning to return True). Also, include screenshots of both cases
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
