Why do we use public static with the main function in Java?
Answer Posted / manya
main function is used for two purposes:-1)when you have to
write a recursion code.2)to use command line arguments
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is the tradeoff between using an unordered array versus an ordered array?
Variable of the boolean type is automatically initialized as?
Explain about transient variables in java?
What is OOP's Terms with explanation?
How do you convert string to int in java?
What is java object name?
What is the purpose of the finalize() method?
What is the purpose of the enableevents() method?
What all access modifiers are allowed for top class ?
What is an 8 bit word?
What is meant by data hiding/encapsulation?
Can you declare a private method as static?
What are 4 pillers of object orinted programming?
What is role of void keyword in declaring functions?