Question: java programming Question 1(20 points): Write a recursive program to nd the length of a string. You should not use length method. Question 2(20 points):
java programming
Question 1(20 points): Write a recursive program to nd the length of a string. You should not use length method.
Question 2(20 points): Write a recursive program to check a given string is a palindrome.
Question 3(20 points): Write a recursive program to reverse a positive integer. (Do not use number to string and string to number conversions)
Question 4(20 points): Write a program to convert decimal number to binary format using only numeric operations.
Question 5(20 points): Method reverse shown below returns the reverse of a String. String reverse( String str ) 1. Implement reverse recursively. Do not worry about the ineciency of string concatenation.'
2. Implement reverse by having reverse be the driver for a private recursive routine. reverse will create a StringBuffer and pass it to the recursive routine.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
