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
Does variable declaration allocate memory?
What is the advantage of functional interface in java 8?
What is the difference between class & structure?
What is a double?
Explain the difference between an Interface and an Abstract class?
What does 0 mean in boolean?
What is the importance of static variable?
What are synchronized blocks in java?
State the main difference between c++ and java?
Is 9 a prime number?
How do you sort arraylist in descending order?
What are the two types of java?
Difference between string s= new string (); and string s = "abv";?
How do you override a method in java?
What is the difference between multiple processes and multiple threads?