Lecture 3: First Steps With Kotlin

This lecture looks at how we compile and run Kotlin programs on the JVM. It then introduces Kotlin's numeric, Boolean, Char, and String types. The difference between using val and using var to define variables is explored. Finally, the control flow features of Kotlin are reviewed, with a particular focus on the power and flexibility of when expressions.