Question: For this project, please create a Java class called Radio StationException that extends Exception. RadioStationException should have a constructor that receives a radio station's call

For this project, please create a Java class called Radio StationException that extends Exception. RadioStationException should have a constructor that receives a radio station's call sign (for example, WJRR) and carrier frequency (for example, 101.1). Create a second class named Radio Station that has the same fields and whose constructor requires values for both fields. Upon construction of a Radio Station object, throw a RadioStationException if the call sign does not consist of four letters or if the carrier frequency is not between 88 and 108 inclusive. Finally, write an application that creates an array of at least six Radio Station objects by asking the user to input call signs and carrier frequencies. Display an appropriate message when a Radio Station object is created successfully and also when one is not. Be sure to test your program with valid and invalid values. Learning Outcomes The student will be able to throw and catch exceptions and create multi-threaded programs. Submission Instructions 1. Please submit one or more .java files as required. 2. Please submit screenshot(s) of the program running on your computer. Screenshot(s) should include all output. Your source code must produce the output in your screenshots
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
