Tuesday, 12 November 2019

Kotlin Tutorial for Beginners | Learn Kotlin

Kotlin is a statically-typed programming language, developed by JetBrains. If you have basic knowledge of Java, you will be able to learn Kotlin in no time. This Kotlin tutorial is designed for beginners so you would be able to understand Kotlin programming even if you have no knowledge of Java.
Kotlin and Java are interoperable which means you can use them together in a Project as well as you can re-write a Java code in Kotlin efficiently. The syntax of Kotlin is concise than Java. In this tutorial you will learn why use Kotlin, what are the advantages of it and several guides on the various topics of Kotlin.

Features of Kotlin

Concise: Kotlin is concise than Java, you would need to write approx 40% less lines of code compared to Java.
Interoperability: Kotlin is highly interoperable with Java. You would not face any difficulty using Kotlin in a Java project.
Open Source: Kotlin is a open source programming language.
Trust: You can trust kotlin as this is developed by popular and well known company JetBrains. JetBrains is known for creating several development tools. The popular Java IDE IntelliJ IDEA is developed by this same company.
Feature-rich: Kotlin provides several advanced features such as Operator overloading, Lambda expressions, string templates etc.
Easy: Kotlin is easy to learn programming language. If you have came from a Java background, you would find it easy to learn Kotlin.
Less error prone: As I mentioned in the beginning, Kotlin is a statically-typed programming language, which makes you able to catch errors at compile-time as Statically typed programming languages do type checking at compile-time.

Kotlin Tutorials

Go through these tutorials in the given sequence for better understanding of kotlin programming language.

Getting Started

  1. Create and run your first Kotlin project in Eclipse IDE
  2. Create and run your first Kotlin project in IntelliJ IDEA
  3. First Kotlin Program – Hello World

Kotlin Basics

  1. Kotlin Keywords
  2. Kotlin variables
  3. Kotlin Type Casting
  4. Kotlin Operators
  5. Kotlin Input Output
  6. Kotlin Comments

Kotlin String Tutorial

  1. Kotlin String

Kotlin Array Tutorials

  1. Kotlin Array
  2. Kotlin Range

Kotlin Control Flow Tutorials

  1. Kotlin if expression
  2. Kotlin when expression
  3. Kotlin for loop
  4. Kotlin while loop
  5. Kotlin do-while loop
  6. Kotlin continue
  7. Kotlin break

Kotlin Functions Tutorials

  1. Kotlin Function
  2. Kotlin Recursion
  3. Kotlin default and named arguments
  4. Lambda functions
  5. Higher Order Function

Kotlin Exception Handling Tutorials

  1. Exception Handling
  2. Kotlin try catch
  3. Multiple catch blocks
  4. Nested try catch
  5. Throw keyword
  6. Kotlin try expression

Kotlin OOP Tutorials

  1. Class and Objects
  2. Kotlin Constructors
  3. Kotlin Inheritance
  4. Visibility Modifiers
  5. Kotlin abstract class
  6. Kotlin Interfaces
  7. Nested and Inner Class
  8. Kotlin Data Class
  9. Kotlin Sealed Class

0 comments:

Post a Comment