Taking Kotlin for a Ride
Explore how to install and verify the Kotlin SDK to prepare your development environment. Learn to compile and run Kotlin code through various methods including command line, IDE, and different platforms like JVM, JavaScript, Android, and native targets. This lesson equips you to start coding and testing Kotlin confidently.
We'll cover the following...
Setting up Kotlin
The rest of the course will focus on the syntax and the semantics of the Kotlin language. To thoroughly learn the concepts, you’ll want to practice the examples. This section will show you how to set up and verify the necessary environment on your system.
Once you key in your code, Kotlin offers a variety of choices to execute code. Unlike Java, you don’t have to compile every single line of code. You can run the code as is, directly from the source code in a file if you like. Alternatively, you may create class files and then reuse the binary to execute ...