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 string thread safe in java?
Can you write a java class that could be used both as an applet as well as an application?
How many decimal digits is 64 bit?
Can I learn java in 3 months?
What is a literal coding?
What do you mean by multithreaded program?
What is temp in java?
What is difference between classpath and path variables in java?
What is the final class modifier?
What is the map interface in java programming?
What is the main method java?
What means public static?
What are the application of stack?
How to perform merge sort in java?
What is scanner in java?