Читать книгу OCP Oracle Certified Professional Java SE 17 Developer Study Guide - Jeanne Boyarsky - Страница 67
Writing a main() Method
ОглавлениеA Java program begins execution with its main()
method. In this section, you learn how to create one, pass a parameter, and run a program. The main()
method is often called an entry point into the program, because it is the starting point that the JVM looks for when it begins running a new program.