Create an Account

Already have account?

Forgot Your Password ?

Home / Questions / Directions are to Write an application named GoToFar in which you declare an array of five integers

Directions are to Write an application named GoToFar in which you declare an array of five integers

Directions are to Write an application named GoToFar in which you declare an array of five integers and store five values in the array. Write a try block in which youloop to display each successive element of the array, increasing a subscript by 1 on each pass through the loop. Create a catch block that catches the eventualArrayIndexOutOfBoundsException and displays the message, "Now you've gone too far."


any help would be greatly appreciated going to school online, no instructor help and the book is useless as well.

Apr 17 2020 View more View Less

Answer (Solved)

question Subscribe To Get Solution

Related Questions