What is the purpose of "public static void main"(meaning of all the words) in Java?
Answers
Answered by
2
Explanation:
Every word in the public static void main statement has got a meaning to the JVM. Public: It is an Access modifier, which specifies from where and who can access the method. ... As main() method doesn't return anything, its return type is void.
Similar questions