Entry point

Entry point of the program

A Rice program starts execution from the method of main class. "Which method is the starting method" depends on the application.

For example, "start()" method is one of the start methods in Cooker.


class main

...

open method void start()

//start method of Cooker

...

endmethod

...

endclass


Open methods of main class can be start methods because they are possible to invoke.

Copyright © Rice All rights reserved.