Kotlin – IntelliJ IDEA Hello World

Screenshot 20181225 122513

Start Intellij and click Create new Project Select Kotlin from the left panel and then Kotlin/JVM from the right panel. Click Next. Specify a project name, location and everything else you need to. Click Finish. Expand Hello World, right-click src, select New and then Kotlin File/Class. This way you will create a new file at the src folder. You will see the following window. Specify the name and click OK. Type the following code: fun main(args: Array<String>){ println(“Hello World!!!”)} In Kotlin the main entry point is the main function. The…

Kotlin – IntelliJ IDEA Hello World Read More