Correct executable flag

master
Joshua Sigona 4 years ago
parent efd3881b22
commit 1ea22e4e29
  1. BIN
      bin/main/HelloWorld/Library.class
  2. BIN
      bin/main/HelloWorld/Song.class
  3. 0
      gradlew
  4. 9
      src/main/java/HelloWorld/Library.java
  5. 12
      src/main/java/HelloWorld/Song.java

Binary file not shown.

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;

@ -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…
Cancel
Save