Correct executable flag
This commit is contained in:
parent
efd3881b22
commit
1ea22e4e29
Binary file not shown.
BIN
bin/main/HelloWorld/Song.class
Normal file
BIN
bin/main/HelloWorld/Song.class
Normal file
Binary file not shown.
@ -3,9 +3,16 @@
|
|||||||
*/
|
*/
|
||||||
package HelloWorld;
|
package HelloWorld;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
public class Library {
|
public class Library {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println("Hello World!");
|
String name = "This is a name";
|
||||||
|
|
||||||
|
|
||||||
|
Song thisSong = new Song("Catch the Wave",180,"kz");
|
||||||
|
|
||||||
|
System.out.println(name);
|
||||||
}
|
}
|
||||||
public boolean someLibraryMethod() {
|
public boolean someLibraryMethod() {
|
||||||
return true;
|
return true;
|
||||||
|
12
src/main/java/HelloWorld/Song.java
Normal file
12
src/main/java/HelloWorld/Song.java
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package HelloWorld;
|
||||||
|
|
||||||
|
public class Song {
|
||||||
|
String name;
|
||||||
|
int duration;
|
||||||
|
String artist;
|
||||||
|
public Song(String name,int duration,String artist) {
|
||||||
|
this.name=name;
|
||||||
|
this.duration=duration;
|
||||||
|
this.artist=artist;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user