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
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