Why do we use public static with the main function in Java?
Answer Posted / abhijit
public means-accessable from anywhere
static means-the point ,from where compilar can start its
compilation without object.
| Is This Answer Correct ? | 11 Yes | 10 No |
Post New Answer View All Answers
What are the actions that can occur when a thread enters blocked state?
When to use runnable interface vs thread class in java?
When can you say a graph to be a tree?
What are parsing rules?
If you are given the name of the function at run time how will you invoke the function?
What type of language is java?
Which is bigger double or float?
What is e java?
Explain scope or life time of local variables in java?
What is the difference between multitasking and multithreading in Java
What is the use of parseint in java?
Explain how to convert any java object into byte array.
What is parse method?
Which class is used by server applications to obtain a port and listen for client requests?
what is the swingutilities.invokelater(runnable) method for? : Java thread