
Specifying and understanding Variable data types in Kotlin
So far we have learnt that variables: do have specific type called data types and they can be either string, integer, double, boolean etc. will have an inferred data type if user does not specify data type then IDE will infer the data type based on the value