Question: Follow these steps to complete this assignment: 1. Create a NetBeans Java console application project called U2A1_ReadTextFileHandleExcep. Reading From a Text File and Handling Exceptions

Follow these steps to complete this assignment: 1. Create a NetBeans Java console application project called U2A1_ReadTextFileHandleExcep.
Reading From a Text File and Handling Exceptions In this assessment, you will design and code a Java console application that reads a text file containing course information and prints out this information to the screen. The application will raise an exception if it encounters problems reading the text file. The requirements of this application are as follows: The application is to read a text file called "courses.txt" that resides in the home folder of the NetBeans project The "courses.txt" contains information that describes three courses. Each course is described by three fields separated by spaces on a line by themselves. The three fields that describe a course are Course code . Course credit hours . Course title The application is to read this text file and prints out its content on the screen for each course. If the application encounters an error, it should raise an exception, prints out an error message, and then exits the program Use these three lines to populate the "course.txt" file IT2249 6 Introduction to Programming with Java IT2230 3 Introduction to Database Systems IT4789 3 Mobile Cloud Computing Application Development Successful completion of this assignment will show the correct content of the "courses.txt" printed out when the application is run. Your program output should look like this sample output 23 System.out.printin ("Teacher's Copy"); 24 run: Teacher's Copy course Code IT2249 Credit hours 6 Course titeIntroduction to Programming with Java Course Code 1T22 30 credit hours 3 l course title Introduction to Database Systems Course Code IT4789 I credit hours 3 Course titleNobile Cloud Computing Application Development BUILD SUCCESSEUL (total time: 0 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
