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 index
arrayName.length
- 1, inclusive otherwise IndexOutOfBounds
exception occurs
arrayName[index]
will now contain the value on the RHS of assignment statement