Radio station KJAVA 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 Recording’s title, artist, 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 by—song title, artist, or playing time. Perform the requested sort procedure, and display the Recording objects. Save the file as RecordingSort.java. c. Do the following operations insert ( first , between, end) Delete ( first, between, end)
Radio station KJAVA 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 Recording’s title, artist, 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 by—song title, artist, or playing time.
Perform the requested sort procedure, and display the Recording objects.
Save the file as RecordingSort.java.
c. Do the following operations
insert ( first , between, end)
Delete ( first, between, end)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images