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
How do you find the absolute value?
Explain the difference between throw and throws in java?
Is java still relevant?
Why isn’t there operator overloading?
What is variable argument in java?
What is the use of static methods?
What is difference between Heap and Stack Memory?
give an example for encapsulation?
Difference between predicate, supplier and consumer ?
What are thread safe functions?
Write a java program to generate fibonacci series ?
Why is stringbuffer called mutable?
What is compareto?
What is the difference between java applets and applications?
Why string is not thread safe?