aboutsummaryrefslogtreecommitdiff
path: root/Song.java
diff options
context:
space:
mode:
Diffstat (limited to 'Song.java')
-rw-r--r--Song.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/Song.java b/Song.java
index e69de29..b07bb81 100644
--- a/Song.java
+++ b/Song.java
@@ -0,0 +1,11 @@
+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;
+ }
+
+
+
+}