All Kotlin Tutorials

The Kotlin range operator explained with example code

Tag: Kotlin

Learn how Kotlin range operator works with practical examples

The Kotlin for loop explained with example code

Tag: Kotlin

Learn how a for loop works in Kotlin with practical examples

The Kotlin interface abstraction explained

Tag: Kotlin

Learn how the interface abstraction works in Kotlin

The Java implements keyword replacement in Kotlin

Tag: Kotlin

Learn how Kotlin has adapted the Java implements keyword

Kotlin internal visibility modifier explained

Tag: Kotlin

Learn how Kotlin internal visibility modifier works in this tutorial

Kotlin foreach method explained with code examples

Tag: Kotlin

Learn how Kotlin foreach method works with practical code examples

How to create static variables and functions in Kotlin

Tag: Kotlin

Learn how to create static variables and functions in Kotlin classes and objects

Kotlin string interpolation feature explained (with code examples)

Tag: Kotlin

Learn about the Kotlin string interpolation feature here

Kotlin elvis operator (?:) explained

Tag: Kotlin

Learn how to handle the null value in conditionals using the elvis operator

How to check type in Kotlin that's similar to Java instanceof operator

Tag: Kotlin

Learn Kotlin's equivalent to the Java instanceof operator

Kotlin type conversion methods for type objects

Tag: Kotlin

Let's learn how to convert data type using methods from type objects

Kotlin cast - how to cast Kotlin object using the is and as operator

Tag: Kotlin

Let's learn how to cast Kotlin object from one type to another

Kotlin when keyword explained (with code examples)

Tag: Kotlin

Learn how Kotlin when expression works with pragmatic code examples

Kotlin ternary operator equivalent

Tag: Kotlin

Create a conditional expression in Kotlin using alternatives to the ternary operator

Handling exceptions (errors) in Kotlin using the try catch statement

Tag: Kotlin

Learn how you can create a smarter Kotlin program by using the try catch statement