Question: JAVA- finished everything about to 3, need the rest to be competed please read carefully thanks! COMP1406-Assignment #6 (Due: Mon. Mar 26th @12 noon) In
COMP1406-Assignment #6 (Due: Mon. Mar 26th @12 noon) In this assignment, you will simulate an on-line music centre called the MusicExchangeCenter where Users log in and download Songs from other user's computers. It is similar to the operation of the original Napster program that operated a few years ago where users shared songs. You won't be doing any downloading or internet programming Instead, you will just simulate what happens in real life. The assignment will give you familiarity with ArrayLists. (1) The Song/ User Classes Here are simple Song and User classes that represent a song that is available at the Music Exchange Center and a user of the Music Exchange Center that logs in to download music public elass Song I private String private String private int title artist daration: public Song) publie song String t, String a, int , int s) title ta artista daration- 60+ publie string getTitle0 return tiele) publie String getArtistOreturn artise j pablie int getDurationreturn duration J publie int getkinates i return duration/60 publie int getSeconds f return duration % 60/ publia sering costring return+titleby atist (duration/60)+(durationms 60)) FS F7 4 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
