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 the purpose of stub and skeleton?
Is map ordered in java?
Can we increase array size dynamically in java?
What are the differences between processes and threads?
What are the advantages of user defined functions?
What is codebase?
What is the effect of keeping a constructor private?
What are dot operator queries?
What is nextint java?
Where is the singleton class used?
Describe the term diamond problem.
What is sortedset in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is the size of string?
What is difference between hashset and hashmap in java?