Question
JAVA. Produce your own version of a Java-based music player called MyPod. The MyPod will store Songs into a PLAYLIST. It should have common features
JAVA. Produce your own version of a Java-based music player called MyPod.
The MyPod will store Songs into a PLAYLIST. It should have common features like adding a new SONG, removing SONGS, sorting the list by various parameters and counting the number of songs each artist has. SONGS should also be classified by genre.
You cannot use built-in sort/add/remove functions in Java Collections such as ArrayList.
Do not forget:
-UML for each class.
-Exception Handling (+Try-Catch Logic).
-Sort by title, Sort by artist and by third Option.
Example:
Welcome to MyPod v1.0! Welcome back! Your playlists were successfully loaded from file.
V View All Songs
A Add Song
R Remove Song
P View Playlists
N Create New Playlist
X Save and Exit
V
How would you like to view your songs?
G Sorted by Title
A Sorted by Artist (count per artist displayed)
L Sorted by Genre (count per genre displayed)
Y Sorted by Release Year
M Return to Main Menu
A
Britney Spears - 3
Hit Me Baby One More Time (1998)
Toxic (2001)
3 (2009)
Christina Aguilera - 2
Genie in a Bottle (1998)
Reflection (1999)
What would you like to do next?
V View All Songs
A Add Song
R Remove Song
P View Playlists
N Create New Playlist
X Save and Exit
R
How would you like to remove a song?
N By Name
L List all songs
M Return to Main Menu
L
Please select a song to remove
1 Hit Me Baby One More Time (Britney Spears)
2 Toxic (Britney Spears)
3 3 (Britney Spears)
4 Genie in a Bottle (Christina Aguilera)
5 Reflection (Christina Aguilera)
0 Return to Main Menu
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started