2 Variables in Kotlin | Kotlin Tutorial Videos
2 Variables in Kotlin | Kotlin Tutorial Videos | by Mr.Mahesh Table of Contents How to declare a variable in Kotlin? Difference Between var and val Kotlin Basic Types Numbers Byte Short Int Long Double Float Char Boolean var language = "French" val score = 95 var language: String = "French" val score: Int = 95 var language: String // variable declaration of type String ... .. ... language = "French" // variable initialization val score: Int // variable declaration of type Int ... .. ... score = 95 // variable initialization ---------------------------------------------------------------------- Best Online Training Institute in Chennai | Best Software Training Institute in Chennai |