Correct executable flag

This commit is contained in:
Joshua Sigona 2020-07-13 23:23:22 +09:00
parent efd3881b22
commit 1ea22e4e29
5 changed files with 20 additions and 1 deletions

Binary file not shown.

Binary file not shown.

0
gradlew vendored Normal file → Executable file
View File

View File

@ -3,9 +3,16 @@
*/
package HelloWorld;
import java.util.HashMap;
public class Library {
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() {
return true;

View 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;
}
}