CIS 407 Week 3 Lab 5 Exercise 4 pg. 667

4.  Write an application that prompts the user to enter a number to use as an array size, and then attempt to declare an array using the entered size.  If the array is created successfully, display an appropriate message.  Java generates a if you attempt to create an array with a negative size, and it creates a if you attempt to create an array using a nonnumeric value for the size.  Use a catch block that executes if the array size is nonnumeric or negative, displaying a message that indicates the array was not created.  Save the file as  Due in Week 3 and worth 20 pointsComplete the weekly labs based on the following:Each lab assignment will be graded based on the following: 

Last Completed Projects

topic title academic level Writer delivered