Every Java apps has a starting point: a method that the system calls when your app starts. This has a specific name and signature, and your code doesn't contain it:
public class MyClass {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Add the
main
method to your class, and have it call your other methods as necessary.