0
String[]args
Why does the program throw an error if we donât include the above title in the main as parameter ?
1 Answer
+ 7
It is the distinct signature for the main method, Java needs to know the entry for the program and that signature tells Java that it was the one main method that should be executed, without that signature Java gets a little "confused" of where to begin : )