In Java why we write public static void main(String args[])
why not main()?
Answer Posted / guest
main() will be treated as just another method.
but public static void main(String args[])
is treated as entry point of an java application
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is return in java?
How can we make copy of a java object?
What is the purpose of garbage collection in java? When is it used?
what is function overloading in java?
Explain java coding standards for variables ?
What do heavy weight components mean in java programming?
What are annotations in java?
What is garbage collection? What is the process that is responsible for doing that in java?
What happens to a static var that is defined within a method of a class?
How to retrieve data from database in java using arraylist?
What is difference between call by value and call by reference?
What is difference between static and abstract class?
How do you identify if jvm is 32-bit or 64-bit from java program?
What is the purpose of static keyword in java?
Why is singleton instance static?