xxxxxxxxxx
// Declaration with type inference
val name = "Alice" // Inferred type: String
// Declaration with explicit type annotation
val age: Int = 30
// Mutable variable declaration (var)
var counter = 0
// Mutable variable declaration with explicit type annotation
var total: Double = 100.5