Question: inJava please (10 pts) Write a recursive method named findMax that takes at least the following as parameters (notice that your method can accept as

inJava please
(10 pts) Write a recursive method named findMax that takes at least the following as parameters (notice that your method can accept as many parameters as needed): a: an array of ints. current: an int representing the position of the array where the current largest value in located. Your method shall return the maximum value in the array. The method shall not use any helpers such as Math.max or any other functionality. For example, assume the array a has the following values: int[] a = {2, 24, 224, 2, 18, 6, 4); Ater calling the method in the main, the method shall return 224, since the current is 2 from the array a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
