main method
Know that you need a main method in a Java class to allow it to run.
The main method is needed in a program to allow it to run. It has a specific format that looks like this:
public static void main(String[] args){ }