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 meant by overloading?
What is the default value of the local variables?
What is nested top-level class?
What is the difference between jdk and jre?
What does @override mean?
What are the restrictions that are applied to the java static methods?
Does treeset allow null in java?
When parseint method can be used?
Can a class extend 2 classes in java?
Is space a character in java?
How are variables stored?
How long will it take to learn java?
why we use merge option in hybernate pls give a ex snippet
If a method is declared as protected, where may the method be accessed in java programming?
What are the two types of java?