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


Please Help Members By Posting Answers For Below Questions

Are generics important java?

515


What is thread count in java?

536


What is a final class ?

595


List the three steps for creating an object for a class?

508


What are java packages?

574






Is minecraft 1.15 out?

540


What is meant by object?

568


What are void methods?

561


Write code of any action class?

540


Can memory leak in java?

572


Which oo concept is achieved by using overloading and overriding?

528


What is the difference between equals() and == in java?

517


What is equals method in java?

518


What is array initialization in java?

484


What do you understand by the term polymorphism?

620