Type Conversion in Kotlin

In this tutorial, we will learn about Type Conversion in Kotlin. In simple words type conversion means converting variable of one data type into another data type. It is important to note in Kotlin doesn’t support implicit conversion of smaller data type into larger data type. Invalid Type Conversion Example: Kotlin also supports explicit type …

Type Conversion in Kotlin Read More »