Run ❯
×
Change Orientation
Change Theme, Dark/Light
fun main() { val name = "John" name = "Robert" println(name) }
prog.kt:3:3: error: val cannot be reassigned
name = "Robert"
^