Difference Between “==” and “===” operators in Kotlin 1. Overview In this article, we are going to talk about the difference between “==” and “===” operators in Kotlin. In Kotlin, just like in Java, we have two different concepts of equality, Referential equality, and Structural equality. 2. Referential Equality For… Continue Reading kotlin-equality-operators

Operator Overloading in Kotlin 1. Overview In this tutorial, we’re going to talk about the conventions that Kotlin provides to support operator overloading. 2. The operator Keyword In Java, operators are tied to specific Java types. For example, String and numeric types in Java can use the + operator for concatenation… Continue Reading kotlin-operator-overloading

Kotlin return, break, continue Keywords 1. Overview In this tutorial, we’ll discuss the usage of structural jump expressions in Kotlin. Simply put, Kotlin has three structural jump expressions: return, break, continue. In the next sections, we’ll cover their functionalities with and without a label. 2. Labels in Kotlin Any expressions in… Continue Reading kotlin-return-break-continue

Overview of Kotlin Collections API 1. Overview In this quick tutorial, we’ll introduce the Kotlin’s Collections API, and we’ll discuss the different collection types in Kotlin and some common operations on collections. 2. Collection vs. Mutable Collection First, let’s take a look at different types of collections in Kotlin. We… Continue Reading kotlin-collections-api