diff --git a/bin/main/HelloWorld/Library.class b/bin/main/HelloWorld/Library.class index 2bcac72..440bf64 100644 Binary files a/bin/main/HelloWorld/Library.class and b/bin/main/HelloWorld/Library.class differ diff --git a/bin/main/HelloWorld/Song.class b/bin/main/HelloWorld/Song.class new file mode 100644 index 0000000..32f19f6 Binary files /dev/null and b/bin/main/HelloWorld/Song.class differ diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/src/main/java/HelloWorld/Library.java b/src/main/java/HelloWorld/Library.java index f84401d..eeb44d4 100644 --- a/src/main/java/HelloWorld/Library.java +++ b/src/main/java/HelloWorld/Library.java @@ -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; diff --git a/src/main/java/HelloWorld/Song.java b/src/main/java/HelloWorld/Song.java new file mode 100644 index 0000000..709f9f1 --- /dev/null +++ b/src/main/java/HelloWorld/Song.java @@ -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; + } +}