admin

admin

Kotlin Data Types

The basic data types used in Kotlin are strings, characters, booleans, numbers and arrays. String Use double-quotes to define a string. Used to store words or sentences. Character Use single-quote to define a character. Used to store a single character.…

Kotlin Variables: Mutable vs Immutable

In Kotlin, there are two types of variables; mutable variable and immutable variable. Mutable Variables Mutable variable is a variable whose value can be changed or updated from time to time. To declare a mutable variable, we use the var…