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 happens when a thread cannot acquire a lock on an object in java programming?
Write a java program to generate fibonacci series ?
What are predefined functions?
How do you read a char in java?
What are the disadvantages of using inner classes?
How do you convert boolean to boolean?
What is thread synchronization in java?
What about main thread in java?
What is the scope or life time of instance variables?
Convert a BST into a DLL and DLL to BST in place.
What is the definition of tree ?
What are the benefits of operations?
What are methods?
What is :: operator in java?
Define linked list and its features with signature?