Methods (Java/C++/C# Style)

A Jeroo program must contain exactly one main method, and usually contains several user-defined Jeroo methods

Main Method

Every Jeroo program must have exactly one main method.

method main()
{

    // declare and instantiate all Jeroos

   // use the Jeroos to solve the problem
}


User-Defined Jeroo Methods

A Jeroo program can have any number of user-defined Jeroo methods.

method identifier ()
{

    // body of the method
}