+ Start a Discussion
suresh bangaloresuresh bangalore 

About main()

Hi frdz,
We are using main() in C,C++,JAVA,why not in apex.Any alternate is to use instead of main()
AshlekhAshlekh
Hi,

The main() is only used for Standalone applications which need a start point to execute the Application.

If you know about WEB applications then they don't need this main() function. Apex is also like that.

-Thanks
Ashlekh Gera