Hi, I know that in C and Java the program control starts from the main method..
But can anybody explain
- Why is that the main method is the starting of program
- Why is that the main method is given preference over any other methods??
- Why is it named as main method?
- How does the compiler knows that main method is the starting?
- What is the compiler process(program) to identify uniquely the main method
Thanks.