Question: 1 . Create Java project Week 0 5 Test 1 . This project will include development of the ViewStudentsMajors.java, DisplayStudentInfo.java, DisplayMajorInfo.java and MainViewer.java. ( 2

1. Create Java project Week05Test1. This project will include development of the ViewStudentsMajors.java, DisplayStudentInfo.java, DisplayMajorInfo.java and MainViewer.java. (20 points-be sure to name the objects as required)
2. Prompt the user with the following options and display the contents of the tables using LoadListFromDatabase: (30 points)
Enter option 1 view Student records
Enter option 2 view Major records
Enter option 3 view both Student records and Major records
a. When the user selects option 1, you will pass in the parameters to display the Student table. (Create your own data in the database and table with at least 5 records. Be sure to provide the SQL script in your project folder.)
b. When the user selects option 2, you will pass in the parameters to display the Major table. (Create your own data in the database with at least 5 records.)
c. When the user selects option 3, you will pass in the parameters for each option and run them back-to-back.
3. You must use the ReadVALUEFromUser methods provided in Java 1 to obtain user input. (10 points)
4. If there is a connection issue with the database, the program must issue this error message Database connection issue in method MethodName. Please contact Support for Project CS.(10 points)
5. Demonstrate that you know how to use a finally block. This finally block of code needs to print a message stating Processing Complete by Program Name.(10 points)
6. The program needs to catch the following exceptions and provide this error message: (10 points)
a. IndexOutOfBoundsException You have an issue with your index. Please contact level 1 Support for Project CS.
b. NullPointerException The value pass is NULL data needs to be fixed. Please contact level 1 Support for Project CS.I

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!