1.
Q21: Put the following code in order to create a method that will find the last occurrence of a target value and return the index of where that value is located.
arrayName[index]
returns value stored at that indexarrayName.length
- 1, inclusive otherwise IndexOutOfBounds
exception occursarrayName[index]
will now contain the value on the RHS of assignment statement