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
Is it possible to override the main method?
What does n mean in java?
What modifiers are allowed for methods in an interface?
What is this keyword in java?
What is difference between wait and notify in java?
Explain jdk, jre and jvm?
What are the limitations of procedural programming approach?
Can I learn java without any programming experience?
What are different types of classloaders?
Can I uninstall java?
What is sorting in java?
What are the basic concepts of OOPS in java?
List some features of the abstract class.
When is update method called?
What does arrays sort do in java?