Question: JAVA PROGRAMMING A music company approaches you and asks you to create a search system that can search through music stored in text files. They
JAVA PROGRAMMING A music company approaches you and asks you to create a search
system that can search through music stored in text files. They give you two text files:
Artiststxt and SongstxtArtisttxt holds the name of the music artist followed by
their albums names. Songstxt holds the name of the song, the length of the song in
minutes the name of the artist who owns the song, and the name of the album to
which the song belongs.
The company wants to be able to search for a song by name and an album by name.
The search should return either a Song object or an Album Object. When searching for
a song you should use binarySearchNote: you will need to sort your list first
When Searching for an album you should use sequentialSearch Once the song
or album has been located, you should print out all information related to the object. The
duration of the song or album should be printed in minutes and seconds eg
minutes is minutes and seconds
Your program should have classes:
Artist
o Name
Album
o Name
o Artist Artist Object
o Number of songs on the album
o Total duration of the album in minutes
o Songs List of Song Object
Song
o Name
o Duration of song in minutes
o Artist Name
o Album Name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
