Monday, July 30, 2012

public static void main (String[] args)

public : as it is accessible from anywhere for jvm
static: no need to create objects to call method.
void: no returning of value
main: syntax- main method - name to be followed
String[] args - syntax- to be followed

No comments:

Post a Comment