Question: Solve this question with (java) language Instructions from your teacher: Write a method called maxInRange that takes an array of integers and two indexes, lowIndex
Instructions from your teacher: Write a method called maxInRange that takes an array of integers and two indexes, lowIndex and highIndex, and finds the maximum value in the array, but only considering the elements between lowIndex and highIndex, including both. check: 1. you should validate the range entered using exception handling 2. You should check low
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
