What is public static void main in Java?

public static void main is the first method that gets called in your Java application.

It is the entry point to your application, and often referred to as the main method.

Here's how it might look like:

public class MainClass {

  public static void main(String[] args) {
    System.out.println("I am running!");
  }
}