Why all programming languages have main as a execution
starting point?
Answer Posted / babu
In all programming languages compilation starts from one
specific point and they need it one specific point for
excecution so we have main().
In java we can excute the program without main but we need
a main method for compilation.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is ordered map in java?
Why do we use bufferedreader?
How do you detect memory leaks?
List the different types of classloaders in java.
What is valid keyword in java?
What are byte codes?
What is method overloading in JAVA? Why is it not present in C ?
What is called module?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is a stack class in java ?
What is the purpose of using java.lang.class class?
Can You Have Virtual Functions In Java?
What is java used for?
Is vector thread safe in java?
Can we declare an array without size in java?