Question: In Java Write a program that includes 2 recursive methods 1 - a reursive boolean method called isThere that will search as array for a
In Java
Write a program that includes 2 recursive methods
1 - a reursive boolean method called isThere that will search as array for a specified value and return true if the value is found in the array or false if the value is not found in the array.
2. a method called charCounter that uses recursion to count the number of times a specific character occurs in an array of characters.
Demonstrate both of these methods in one program (allowing the user to input which value he/she would like to search for as well as allowing the user to input which character to count)
Avoid using ArrayLists
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
