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 the console in java?
Explain about abstract classes in java?
Can I learn java in 3 months?
What are different types of arrays?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is == and === in javascript?
How do you implement polymorphism in our day to day life?
What are java threads?
What is an enumeration?
What is the difference between an inner class and a sub-class?
What are the classes of java?
What are scalar data types?
Define an enumeration?
How are destructors defined in java?
What is thread safe java?