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
how we can make a write-only class in java?
What is methods in java?
What are the 6 functions?
Is null a keyword in java?
How do you differentiate abstract class from interface?
What is regex used for?
What is extension method in java?
What are peerless components?
What are untrusted applets?
What is size_t?
What are the differences between path and classpath variables?
Can a java program have 2 main methods?
Can you change array size in java?
Explain public static void main(string args[]).
What is the difference between actual and formal parameters?