Jak zdefiniować zmienną w Kotlin
val firstName: String = "Chike"
val variable name: Typeofthevariable = TheValueofyourvariable
Itchy Ibex
val firstName: String = "Chike"
val variable name: Typeofthevariable = TheValueofyourvariable
// 1
val question = "What's your name?"
// 2
val question: String = "What's your name?"
// 3
var question: String = "What's your name?"