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
Are generics important java?
What is thread count in java?
What is a final class ?
List the three steps for creating an object for a class?
What are java packages?
Is minecraft 1.15 out?
What is meant by object?
What are void methods?
Write code of any action class?
Can memory leak in java?
Which oo concept is achieved by using overloading and overriding?
What is the difference between equals() and == in java?
What is equals method in java?
What is array initialization in java?
What do you understand by the term polymorphism?