AP Computer Science – A project involving multiple classes

 

Classes you will write:

 

  1. A Song Class – maintains the following information about a song:
    1. Song title
    2. Number of minutes in song length
    3. Number of seconds in song length ( must be 0-59)
  2. A Disc Class – maintains the following information about a disc
    1. Title of disc
    2. Artist of disc
    3. Number of songs on disc
    4. An ArrayList of Song objects (songs on the disc)
  3. A DiscChanger Class – maintains the following information about a Disc Changer
    1. An ArrayList with up to 3 disc objects

 

 

Here are methods that must be present in each class:

 

Song Class

 

Disc Class

 

 

Title: Houses of the Holy

Artist: Led Zeppelin

Songs: 8

Song List

The Song Remains The Same  6:26

The Rain Song  7:14

Over The Hills And Far Away  5:47

The Crunge  4:13

Dancing Days  5:22

D'yer Mak'er  5:18

No Quarter  6:52

The Ocean  5:32

 

Total Time = 46:44