Java Main Method serves as a starting point for a Java application.
Main Method Syntax:
public static void main(String[ ] args)
{
statements
}
where
public means the main method is accessible by any other classes
static means the main method can be called without instantiated
void means the main method doesn't return any values
String[ ] args is an array of String parameters that the main method receives
Java Main Method Declaration
Posted by
Jessica
on Thursday, October 29, 2009
Labels:
Main Method Declaration
0 comments:
Post a Comment