Sunday, May 14, 2017

 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)

Why server side games generally can’t be hacked We get many question daily asking us how to hack games such as Clash of Clans this ...