DEV Community

Mayank
Mayank

Posted on

Answer: what's the difference between kotlin main functions

The syntax with the args is used to pass the parameters to the module from command line interface or from outside program. If you don't need it, you can omit it.

If you are getting started with kotlin I strongly recommend you to look at kotlin official website.

Top comments (0)