[Solved] Media Library

$25

File Name: Media_Library.zip
File Size: 122.46 KB

SKU: [Solved] Media Library Category: Tag:
5/5 - (1 vote)

5/5 – (6 votes)

Your company is bidding for a contract to develop a media library consisting of songs, albums and playlists for an online music store. You are required to develop a prototype in the Java programming language that would help win the contract. Your solution should consist of the following classes:

Song (consisting of the following properties / attributes)

Title of the song

Artist of the song

Release year for the song

Catalog Number (a unique identifier for internal tracking purposes)

Duration of the song (in minutes and seconds)

Number of times the song has been playedPlaylist (consisting of the following properties/attributes) Name of the playlist

The date the playlist was created (should be automatically generated from the actual current date)

The date it was last updated (this would be the date a song was last added or removed see next section)

Collection of songs on the playlist

Playlist need the following functionality: The ability to add song to playlist

The ability to remove song from playlist

The ability to display the contents of the playlist

The ability to sort the playlist by song title, artist, year, and number of times played

The user should be able to perform the following tasks in a menu-driven system:

1. Add song to playlist

2. Remove song from playlist

3. Given the name of an artist, list all songs by the artist in alphabetical order by song title

4. List all songs by in descending order by number of downloads

5. Given the name of a playlist, list all songs in playlist

6. Given the title of a song, list the playlist(s) it is in (a song can be in more than one playlist or in none at all)

7. Browse a playlist sorted by title, artist, year, and number of times played

Your program should have input validation, error-checking and handling.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Media Library
$25