+ 1
public static void main(String[] args) is predefined method or user-defined?
7 Respuestas
+ 1
it is user defined, it is a start point for user code, when applications finisheds initialization it calls main function, app knows where main function is stored
+ 1
That means it's syntax is predefined right?
+ 1
prototype is predefined
+ 1
thank you for your explanation..
0
I have a doubt that if it is user-defined then why we can't change it's peototype?
0
for example, when you'll change number of arguments application won't find your function to call, cause there is a convention for start point function
0
thank you for your explanation..