Install and use kotlin

There are several IDE that supports kotlin language, here I'm using IntelliJ IDE, 
you can download the latest version of IntelliJ ide from https://www.jetbrains.com/idea/download/ from here, 
download, install, and start to use.

Once you have finished with IntelliJ IDE installation, its time to create to a new project

1- Launch your IntelliJ IDE and click on create new Project
IntelliJ IDE, create new project


2- Create new project, Select the Kotlin-> JVM|IDEA project type
Select project type
Select project type kotlin-> JVM|IDEA


3- Give your project a name and select SDK version for the project.
Proejct name and sdk location
Project name and SDK Location



4- Now look, you have a newly created project with the following project structure
Project structure
newly create a project with project structure

5- create a new kotlin file, under the src folder
creatin kotlin file


6- type code in that created file



7- Now its time to run the project,


8- output


1 comment:

  1. Thanks for sharing this blog. A great information you shared through this blog. Keep it up and best of luck for your future blogs and posts.
    Read my blogs: Hypothesis Testing: Making Informed Decisions with Data

    ReplyDelete