Kotlin tutorials
55 tutorials. Language basics for Android and JVM developers.
All Kotlin tutorials
Page 3 of 3Kotlin
The Kotlin range operator explained with example code
Learn how Kotlin range operator works with practical examples
Nov 15, 2021
Kotlin
The Kotlin for loop explained with example code
Learn how a for loop works in Kotlin with practical examples
Nov 14, 2021
Kotlin
The Kotlin interface abstraction explained
Learn how the interface abstraction works in Kotlin
Nov 13, 2021
Kotlin
The Java implements keyword replacement in Kotlin
Learn how Kotlin has adapted the Java implements keyword
Nov 12, 2021
Kotlin
Kotlin internal visibility modifier explained
Learn how Kotlin internal visibility modifier works in this tutorial
Nov 11, 2021
Kotlin
Kotlin foreach method explained with code examples
Learn how Kotlin foreach method works with practical code examples
Nov 10, 2021
Kotlin
How to create static variables and functions in Kotlin
Learn how to create static variables and functions in Kotlin classes and objects
Nov 9, 2021
Kotlin
Kotlin string interpolation feature explained (with code examples)
Learn about the Kotlin string interpolation feature here
Nov 8, 2021
Kotlin
Kotlin elvis operator (?:) explained
Learn how to handle the null value in conditionals using the elvis operator
Nov 7, 2021
Kotlin
How to check type in Kotlin that's similar to Java instanceof operator
Learn Kotlin's equivalent to the Java instanceof operator
Nov 6, 2021
Kotlin
Kotlin type conversion methods for type objects
Let's learn how to convert data type using methods from type objects
Nov 5, 2021
Kotlin
Kotlin cast - how to cast Kotlin object using the is and as operator
Let's learn how to cast Kotlin object from one type to another
Nov 4, 2021
Kotlin
Kotlin when keyword explained (with code examples)
Learn how Kotlin when expression works with pragmatic code examples
Nov 3, 2021
Kotlin
Kotlin ternary operator equivalent
Create a conditional expression in Kotlin using alternatives to the ternary operator
Nov 2, 2021
Kotlin
Handling exceptions (errors) in Kotlin using the try catch statement
Learn how you can create a smarter Kotlin program by using the try catch statement
Nov 1, 2021