From 2a265d2f8787174337df4d5fc83e206ddd3289c4 Mon Sep 17 00:00:00 2001 From: Masfehico Date: Mon, 23 Nov 2020 16:15:21 +0100 Subject: Musical elements updated and jMusicHub basic creation --- Album.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Album.java') diff --git a/Album.java b/Album.java index e69de29..cdd39db 100644 --- a/Album.java +++ b/Album.java @@ -0,0 +1,18 @@ +import java.util.ArrayList; + +public class Album { + private int id, duration, date; + private String title, artist; + private ArrayList songs = new ArrayList(); + public Album(int id, String title, int duration, String artist, int date, ArrayList songs) { + this.id=id; + this.title=title; + this.duration=duration; + this.artist=artist; + this.date=date; + this.songs=songs; + } + + + +} -- cgit v1.2.3