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 string in java is it a data type?
How do I get the | symbol on my keyboard?
Why set is used in java?
Can Exception handling we can handle multiple catch blocks?
Which variable is the independent variable?
what is instanceof operator used in java?
When parseint method can be used?
What is math exp in java?
Can an unreferenced object be referenced again?
What is a parameter in a function?
What is the platform?
Can we assign null to double in java?
What is final class?
What are the differences between wait() and sleep()?
What is the meaning of find and replace?