My Profile

Tuesday, January 25, 2011

Syntax to define Main Method

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.


Post a Comment


Twitter Delicious Facebook Digg Stumbleupon Favorites More