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
Does java support function overloading, pointers, structures, unions or linked lists?
What is bytecode in java ?
What is the difference between form & report?
Give me an example of array and linked list? Where they can be used?
What is static keyword?
What is passing by reference in java?
Is java platform independent?
Explain the use of volatile field modifier?
What is a hashmap used for?
State the merge-sort principle and its time complexity.
What is final int?
What is final keyword?
What is the file type?
How can constructor chaining be done by using the super keyword?
Is void a wrapper class?