Saturday, 20 December 2014

Meaning for public static void main () in java

Meaning for public static void main () in java
public  is a modifier indicates that method can be used by other java clases
static  is a modifier indicates that main() doesn’t require any object to access the method
void -no value is returned

main() -flow control is given to main().Execution order is depend on this instruction order  in the main() function

No comments:

Post a Comment