This program will show which number in the array corresponds to the index number entered by the user. If the entered number is out of bounds, the user will see an exception message.
Java
TryCatch
This program will show which number in the array corresponds to the index number entered by the user. If the entered number is out of bounds, the user will see an exception message.