Most examples in this book are written as Kotlin script so you can easily run them as a single file without explicit compilation. Where compilation and other steps are necessary, instructions are provided alongside the code.
To save space, the output from a piece of code is shown as a comment line on the same line as the println() command where possible or on the next line. Occasionally, a line of comment says something about the code instead of showing the expected output.