main()method is the entry point for a Java program.
It is the first method that is invoked when a Java program is run.
A correctly defined
main()method has the following signature:
- Naming context :A context or scope in which identifiers are unique.
- Signature: The name of the method and the number and types of formal parameters to the method.