Kotlin Companion Objects

Kotlin Companion Object

Kotlin Companion Object: In this tutorial, you will learn to create and use companion objects in your Kotlin program with ...
Kotlin object singleton

Kotlin Object Declarations and Expressions

Kotlin object singleton: In this tutorial, you will learn about object declarations (singletons) and object expressions with the assistance of ...
Kotlin Sealed Classes

Kotlin Sealed Classes

Kotlin Sealed Class: In this tutorial, you will learn about Sealed class, how they are created, and when to use ...
Kotlin Data Class

Kotlin Data Class

Kotlin Data Class: In this tutorial, you will learn to create data classes in Kotlin. You will likewise learn about ...
Kotlin Nested and Inner Class

Kotlin Nested and Inner Class

Kotlin Nested and Inner Class: In this tutorial, you will learn to function with nested and inner classes with the ...
Kotlin Interfaces

Kotlin Interfaces

Kotlin Interfaces: In this tutorial, you will learn about interfaces and how to implement it in Kotlin with the assistance ...
Kotlin Abstract Class

Kotlin Abstract Class

Kotlin Abstract Class: In this tutorial, you will learn about abstract class and how to implement it in Kotlin (with ...
Kotlin Visibility Modifiers

Kotlin Visibility Modifiers

In this tutorial, you will learn pretty much each of the 4 visibility modifiers in Kotlin and how they work ...
Kotlin Inheritance

Kotlin Inheritance

In this tutorial, you'll learn about inheritance. All the more explicitly, what is inheritance and how to implement it in ...
Kotlin Getters and Setters

Kotlin Getters and Setters

In this tutorial, you will learn to use getters and setters in Kotlin with the assistance of an example. Before ...
Kotlin Constructors

Kotlin Constructors

Kotlin Constructors: In this tutorial, you will learn about constructors in Kotlin (both primary and secondary constructors) just as initializer ...
Kotlin Class and Objects

Kotlin Class and Objects

Kotlin Class and Objects: In this tutorial, you'll be acquainted with Object-oriented programming in Kotlin. You'll learn what a class ...
Kotlin Recursion

Kotlin Recursion (Recursive Function) and Tail Recursion

Kotlin recursion: In this tutorial, you will learn to create recursive functions; a function that calls itself. Likewise, you will ...
Kotlin Default and Named Arguments

Kotlin Default and Named Arguments

Kotlin Default and Named Arguments: In this tutorial, you will learn about default and named arguments with the assistance of ...
Kotlin Infix Function Call

Kotlin Infix Function Call

Kotlin Infix Function: In this tutorial, you will learn to use infix notation to call a function in Kotlin (with ...
Kotlin Functions

Kotlin Function

Kotlin Function: In this tutorial, you'll learn about functions; which functions are, their syntax, and how to create a user ...
Kotlin continue Expression

Kotlin continue Expression

Kotlin continue: In this tutorial, you will learn to use keep on avoiding the current iteration of a loop. Additionally, ...
Kotlin break Expression

Kotlin break Expression

Kotlin break: In this tutorial, you will learn to use break to terminate a loop. Additionally, you will likewise learn ...
Kotlin for Loop

Kotlin for Loop

Kotlin for Loop: The for loop in Kotlin iterates through whatever gives an iterator. In this tutorial, you learn to ...
Kotlin while Loop

Kotlin while and do…while Loop

Kotlin while Loop: Loop is used in programming to repeat a particular block of code. In this tutorial, you will ...
Kotlin when Expression

Kotlin when Expression

Kotlin when Expression: In this tutorial, you will learn about when construct in Kotlin with the assistance of different examples ...
Kotlin if Expression

Kotlin if Expression

Kotlin if Expression: In this tutorial, you will learn to use the if expression in Kotlin with the assistance of ...
Kotlin Basic InputOutput

Kotlin Basic Input/Output

Kotlin Input Output: In this tutorial, you will learn to display output to the screen, and take input from the ...
Kotlin Comments

Kotlin Comments

In this tutorial, you will learn about Kotlin comments, and why and how to use them. Comments are statements that ...
Kotlin Expression, Statements, and Blocks

Kotlin Expression, Statements, and Blocks

Kotlin statement expression: In this tutorial, you will learn about Kotlin expressions, Kotlin statements, differences among expressions and statements, and ...
Kotlin Type Conversion

Kotlin Type Conversion

Kotlin Type Conversion: In this tutorial, you will learn about type conversion; how to convert a variable of one sort ...
Kotlin Operators

Kotlin Operators

Kotlin Operators: Kotlin has a set of operators to perform arithmetic, task, comparison operators, and more. You will learn to ...
Kotlin Variables Types

Kotlin Variables and Basic Types

Kotlin Variables: In this tutorial, you will learn about kotlin variables, how to create them, and the fundamental data types ...
Kotlin Hello World - You First Kotlin Program

Kotlin Hello World – You First Kotlin Program

In this tutorial, you will learn to write the Hello World program in Kotlin. A "Hello, World!" is a basic ...