CO452 Programming Concepts - Buckinghamshire New University

Post New Homework

JAVA Programming Concepts

Learning outcome 1: Design, implement and test programs to solve simple problems.

Assignment Task

Your task is to develop a basic Java console application that will emulate the main features of a music streaming service such as Spotify or Apple Music. You should code a basic application that is able to store a list of song objects. Each song object should be able to store the artist's name, the song title and the current number of times the song has been played.

Your application should have the following features:
1. Add a new song to the list of songs
2. Remove a song from the list of songs
3. Print a list of all the songs stored
4. Print a list of songs over a given number of plays

The data below is intended to be an example of values for song name, artist name and play count. However, for your submission, you must add your own song data. You must not copy the values below. You should add a minimum of ten songs, featuring the song title, artist name and play count.

Song title

Artist name

Play count

Beautiful

Anne-Marie

863,015

Bad Habits

Ed Sheeran

127,191,452

Halo

Beyonce

991,888,598

Clash

Dave (feat. Stormzy)

7,070,513

It Gets Better

Swedish House Mafia

7,563,930

Post New Homework
Captcha

Looking tutor’s service for getting help in UK studies or college assignments? Order Now