+ 3
Who call main function?
2 Respuestas
+ 2
When we execute our program a main thread is automatically created by the compiler, and that main thread searches for the main function in the program, loads it and works accordingly.
+ 2
JVM calls the main method