In Java why we write public static void main(String args[])
why not main()?
Answer Posted / shiva
In entire java program main() executes only once, so that
so that it is static.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a finally block? Is there a case when finally will not execute?
Give reasons supporting that string is immutable.
What are green threads in java?
What is a numeric digit?
What is methods and methodology?
What's the base class of all exception classes?
What are the differences between stringbuffer and stringbuilder?
how are methods defined?
How to use Media tracker Class.
What is difference between variable declaration and definition?
How to instantiate static nested classes in java?
What is a literal coding?
What is static keyword in java?
What are the basic control structures?
What all methods are used to prevent thread execution ?