The main method is a static method, belonging to the class, where program execution begins - it's the front door, so to speak. The main method begins the chain of events that load the program into memory, ready for use.
In the Java programming language, every application must contain a
main method whose signature is: public static void main(String[] args)
The main method can optionally take a String array as a parameter, as shown in the parenthesis.
(String[] args)
