Question: a. Radio station JAVA wants a class to keep track of recordings it plays. Create a class named Recording that contains fields to hold methods
a. Radio station JAVA wants a class to keep track of recordings it plays. Create a class named Recording that contains fields to hold methods for setting and getting a Recordings title, artist, language, and playing time in seconds. Save the file as Recording.java.
b. Write an application that instantiates five Recording objects and prompts the user for values for the data fields. Then prompt the user to enter which field the Recordings should be sorted bysong title, artist, language, or playing time. Perform the requested sort procedure, and display the Recording objects. Save the file as RecordingTest.java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
