> For the complete documentation index, see [llms.txt](https://jazz-lang.gitbook.io/jazz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jazz-lang.gitbook.io/jazz/hello-world.md).

# Hello, World!

```kotlin
fun main() {
    var stdout = getStdout();
    stdout << "Hello, World!\n";
}
```

The `main` function is entry point for program. `var stdout = getStdout()` creates variable `stdout` and set `stdout` value to return of function call `getStdout()`

`stdout << "Hello, World!\n";`

This line writes "Hello, World!" string to `stdout` file. Because Jazz supports operator overloading you can just use `<<` like in C++ if you need to print something: `stdout << 42 << " meaning of life\n";`&#x20;
