add song class

This commit is contained in:
2026-05-24 09:35:27 +03:30
parent fa5f8ab267
commit 19430799c6
4 changed files with 37 additions and 4 deletions
+3 -2
View File
@@ -2,7 +2,8 @@ package sbu.javafx;
import javafx.application.Application;
public class Launcher{
public class Launcher {
public static void main(String[] args) {
// TODO: Launch the JavaFX application by calling Application.launch(Main.class) }
}
}
}
+26
View File
@@ -0,0 +1,26 @@
package sbu.javafx;
import java.io.File;
public class song {
private String songName;
private String artist;
private String songAddress;
public song(String songName, String artist, String songAddress) {
this.songName = songName;
this.artist = artist;
this.songAddress = songAddress;
}
public String getSongName() {
return songName;
}
public String getArtist() {
return artist;
}
public String getSongAddress() {
return songAddress;
}
}