0
why computer reads from main??
2 odpowiedzi
+ 2
It is supposed to be done. If there is no such indicator like main function, how compiler knows where to begin?
+ 2
Main method is a special method, is the entrance of the program execution, a Java program from the main method begins execution. Java virtual machine prior before assigning a thread to execute Java program, and our main method is executed by the primary thread.And it's ok not understand it.Just go on.