|
Our first program will print the classic "hello world" message. Here's the full source code. |
|
|
|
|
As you can see, Kotlin is very concise; it does not require a lot of boilerplate. |
|
To run the program, we first have to compile it. |
|
|
|
|
Then, we can run the resulting jar file. |
|