Question
It's a bit urgent and I appreciate your work if you can help. I need the JAVA CODE for a program having the package name
It's a bit urgent and I appreciate your work if you can help.
I need the JAVA CODE for a program having the package name MusicPlayer for the general work. For the primitive types give whatever ones that are appropriate for the definitions (int, string, float...) Populate it with random songs, users and playlists statically no database.
some information for them if needed. getUserDetails(takes user id) = displayes the user information
getSongAlbum(takes song id)= displayes the album information
addPlaylistUser() = adds a playlist to a user containing some songs
addSongToPlaylist(take the song id and playlist id )= then add that song to that playlist
Rest is same as what you uderstand from the method name.
The "...." are the getter, setter or some methods whatever its necessary for the general construction.
Good luck and thanks.
User Playlist MusicPlayer - userld - userName - listOfAlbums playListld + songs: Song + users: User - name 1-has-listOfPlaylist 1has owner - dateCreated - listOfFollowers - listOfFollowings +menu + addUserO +deleteUser + getUserDetails(user id) + addSong0 + delete Song0 + getSongAlbum(song_id) +addPlaylistUserO + addSong ToPlaylist(playlist id + getPlaylistDetails(playlist id) Song songld - name -genre - ReleaseDate has deletePlaylist0 + dislayUsers() + displaySongs0) isIn belongsTo 1 1 Album Artist - name - genre - ReleaseDate - name 1- -country - type of musicStep 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