blob: cdd39dbe9fa3e48b1fdb444f44b55cfd8fccbf38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import java.util.ArrayList;
public class Album {
private int id, duration, date;
private String title, artist;
private ArrayList<String> songs = new ArrayList<String>();
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;
}
}
|