Complete Kotlin Tutorial: Part 2 (The Hello World! Program)
If you are new to this series, start from here
The previous post, Part 1 is here
Now, let’s continue with our journey by creating our first program using Kotlin.
I will be using an IDE (Integrated Development Environment) in which I will code in Kotlin. An IDE is necessary because it helps us to write clean code, compile+build code, and deploy complete applications in one go. One such IDE for Kotlin development is IntelliJ IDEA. I’m not going into details here with the installation process, which you may refer to an online search (because it’s easy to install a software and you already know that, duh!). I’m assuming that you have successfully installed IntelliJ IDEA from here.
After installation, when you open your IDE will look something like this-
Creating a New Kotlin Project
Kotlin code will require a JVM to run. That’s why we have to install Java SDK (Software Development Kit) first, which comes with JVM. For installing Java SDK, I recommend a custom Java SDK which is not from Oracle (the company behind Java), but from Amazon…