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
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+2 -2
View File
@@ -45,8 +45,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>23</source>
<target>23</target>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
<plugin>
+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;
}
}