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 the use of singleton class?
Is map ordered in java?
Does substring start with 0?
Why string is not thread safe?
What is the difference between an object-oriented programming language and object-based programming language?
What is initial size of arraylist in java?
Difference between operator overloading and function overloading
Is empty in java?
What is the difference between a method and a function in alice?
What is the size of integer?
What are the benefits of operations in java?
What is immutable state?
What is return used for in java?
what do you mean by classloader?
Explain the features of java?