Why all programming languages have main as a execution
starting point?
Answer Posted / balamurugan
in java jvm only understand the class which contain main
method so, jvm understand that main method should be the
starting point in java
in other cases compiler need starting point in every
program to execute a program sync to execute so we need
main method for every program
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can java list contain duplicates?
What is sortedmap in java?
Will the jvm load the package twice at runtime?
What is composition in java?
What are assembly attributes?
What is serialversionuid?
What are the files generated after using IDL to java compiler?
What are meta-annotations?
What is bigger kb or mb?
What are dot operator queries?
Why java is object oriented?
Difference between start() and run() method of thread class?
How to solve the problem of generating the unique hash keys with hash function?
Can a variable be local and static at the same time?
What are serialization and deserialization?