Search for question
Question

3. maxElement Method

Write a method named maxElement, which returns the largest value in the array that is passed as argument. The method should use

recursion to find the largest element.

Fig: 1