Complete the method so that the number num
is set to index point index
in the array named array
. Be sure to handle the exception with the...
X453: Exception Handling - finally
Complete the method so that the number num
is set to index point index
in the array named array
. Be sure to handle the exception with the proper handler of when the array index is out of bounds: ArrayIndexOutOfBoundsException. When an exception is caught the method should return null. Also, have first element in the array array
set to 0 in a finally block. Do not use if statements and do not use the general exception handler Exception
Your Answer:
Feedback
Your feedback will appear here when you check your answer.