In this article,Public Static Void main(String args[]) is explained in detail with examples.
Public
Public
Is an access modifier, it allows JVM to call main() outside the class from operating System command prompt.
Static
JVM calls main(), when a class is executed. It means without creating an object of our class JVM is invoking main() directly.Hence it is static.
Void
It indicates return type, the main method doesn't return any value back to JVM after execution.
main()