fig: Syntax for main Method
Main method should be explicitly declared as static if at all it has to start its execution without object creation.
It can be either Non-Value returning or return an int values as an output.
We can pass a string array as a parameter to Main method which was optional. |
0 comments:
Post a Comment