Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA help: exceptions. the notes in the instructions will help. 9.6 Ch 9 Program: Class Information (Java) In this assignment, you will be making a
JAVA help: exceptions. the notes in the instructions will help.
9.6 Ch 9 Program: Class Information (Java) In this assignment, you will be making a program that reads from a file called classes.txt and displaying that information to the user. The goal for this assignment is to learn how to handle potential exceptions. Use the given template to implement exception-handling techniques Please note: You do not have to edit any parts of the code. Only handle exceptions where the code says /* INSERT CODE HERE */ The four exceptions you have to handle are: NumberFormatExceptiorn FileNotFoundException ArrayIndexOutofBoundsException NoSuchFieldException classes.txt 1 CSCE155;3;3:00PM; Computer Science I CSCE156; 4;12:00PM;CSCE155; Computer Science II CSCE230;4;8:30AM; CSCE155; Computer Organization CSCE235;3;9:30AM; CSCE155; Introduction to Discrete Structures CSCE251;1; ;csCE155;Unix Programming Environment CSCE310;3:11:30AM; CSCE156; Data Structures and Algorithms CSCE322; 3;4:30PM; CSCE156, CSCE230,CSCE311; Programming Language Concepts CSCE351;3;1:30PM; CSCE230, CSCE310, CSCE311 CSCE???;?; CSCE361:3:9:00AM; CSCE310,CSCE311; Software Engineering CSCE423;3;2:00PM; CSCE235, CSCE310,CSCE310;Design and Analysis of Algorithms CSCE428:3;4:30PM; CSCE235, CSCE310, csCE311; Automata, Computation, and Formal Languages CSCE486; 3; 1:00PM ; CSCE36 CSCE 487; 3;10:00AM; CSCE486; Computer Science Senior Design Project 1/Computer science Professional Development 9.6 Ch 9 Program: Class Information (Java) In this assignment, you will be making a program that reads from a file called classes.txt and displaying that information to the user. The goal for this assignment is to learn how to handle potential exceptions. Use the given template to implement exception-handling techniques Please note: You do not have to edit any parts of the code. Only handle exceptions where the code says /* INSERT CODE HERE */ The four exceptions you have to handle are: NumberFormatExceptiorn FileNotFoundException ArrayIndexOutofBoundsException NoSuchFieldException classes.txt 1 CSCE155;3;3:00PM; Computer Science I CSCE156; 4;12:00PM;CSCE155; Computer Science II CSCE230;4;8:30AM; CSCE155; Computer Organization CSCE235;3;9:30AM; CSCE155; Introduction to Discrete Structures CSCE251;1; ;csCE155;Unix Programming Environment CSCE310;3:11:30AM; CSCE156; Data Structures and Algorithms CSCE322; 3;4:30PM; CSCE156, CSCE230,CSCE311; Programming Language Concepts CSCE351;3;1:30PM; CSCE230, CSCE310, CSCE311 CSCE???;?; CSCE361:3:9:00AM; CSCE310,CSCE311; Software Engineering CSCE423;3;2:00PM; CSCE235, CSCE310,CSCE310;Design and Analysis of Algorithms CSCE428:3;4:30PM; CSCE235, CSCE310, csCE311; Automata, Computation, and Formal Languages CSCE486; 3; 1:00PM ; CSCE36 CSCE 487; 3;10:00AM; CSCE486; Computer Science Senior Design Project 1/Computer science Professional DevelopmentStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started