Making a music program

This commit is contained in:
2026-06-09 13:58:56 +03:30
parent fa5f8ab267
commit b5959e5329
8 changed files with 202 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
package sbu.javafx;
public class Song {
private String title;
private String artist;
private String duration;
public Song (String title, String artist, String duration){
this.title = title;
this.artist = artist;
this.duration = duration;
}
public String getTitle () { return title;}
public String getArtist () { return artist;}
public String getDuration () { return duration;}
}