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
What is nested top-level class?
What is a protected class in java?
What is singleton pattern?
What do you mean by global variable?
Define a java class.
How to find the index of the largest number in an arraylist java?
What is the purpose of garbage collection in java? When is it used?
What is abstract class constructor called?
What is ctrl m character?
What is xslt in java?
Is 0 true or is 1 true?
which pattern is default in scanner package?
What does the “static” keyword mean? Can you override private or static method in java?
What are the differences between string and stringbuffer?
What is try-with-resources in java?