blob: 640059e4e85f6e18a5a6e5f4842e615a2dfb96c7 (
plain)
1
2
3
4
5
6
7
8
|
public class Song extends MusicalElement {
private String artist, genre;
public Song(int id, String title, int duration, String content, String artist, String genre) {
super(id, title, duration, content);
this.artist=artist;
this.genre=genre;
}
}
|