All about "public static void main(String []args);"
public - To call by JAVA from anywhere.
static - without existing object also JVM has to call this method & main method no way related to any object.
void - main() method won't return anything to JVM.
main - This is the name which is configures inside JVM
(String []args) - Comand Line argument
We can declear "String" in any acceptable form.
main(String[] args)
main(String []args)
main(String args[])
We san replace String[] with var arg parameter.
main(String[] args) ==> main(String...args)
We can declare main() method with the following modifiers also.
final
synchronized
strictfp
final static synchronized strictfp public void main(String []args)