Kotlin Basics : Variables, Datatypes, control flow, when, loops & exception

Kotlin is a relatively new programming language that is gaining popularity due to the simplicity in the syntax compared to Java and the compatibility with the JVM. It is developed and maintained by the JetBrains organization ( creators of Intellij IDEA )

In this post, we are going learn the basics of the Kotlin as shorts ( microideations )

Please note that the concepts are defined as microideations. You can read more about microideation below and also download the app for this and more content for free.

MICROIDEATION APP: Programming and tech topics explained as quick learning cards ( ideations ).
We have launched our new mobile app for learning programming and other tech-based topics in under 30 seconds. The content is crafted by subject-matter experts on the field and each topic is explained in 500 or fewer characters with examples and sample code. You can swipe for the next content or freeze and follow a particular topic. Each content is self-contained and complete with links to related ideations. You can get it free (for the first 1000 users) with no mandatory registration required in the play store now.

Visit : https://portal.microideation.com/about

What is Kotlin ?

Setup using Intellij IDE

Variables

First hello world program

Standard input and output ( stdin, stdout )

Operators

Bitwise operators

Datatypes

Control statements : if else

while & do while loop

for loop

break & continue

when statement

exception handling

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *